/* Zingo: self-hosted fonts; no framework, external stylesheet or build step. */
@font-face { font-family: Poppins; src: url('assets/fonts/poppins-semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url('assets/fonts/poppins-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Poppins; src: url('assets/fonts/poppins-extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Rethink Sans'; src: url('assets/fonts/rethink-sans.ttf') format('truetype'); font-weight: 400 800; font-display: swap; }
:root {
  --page: #fff;
  --ink: #222222;
  --muted: #717171;
  --orange: #ff8a00;
  --yellow: #ffdc29;
  --gradient: linear-gradient(110deg, #ff8800 5%, #ffc114 58%, #ffdb26 100%);
  --content: 1200px;
  --body-font: 'Rethink Sans', Arial, sans-serif;
  --heading-font: Poppins, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 16px/1.5 var(--body-font); }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a95000; outline-offset: 5px; }
.container { max-width: var(--content); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 12px 20px; background: #fff; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.gradient-text { color: #eb9000; background: var(--gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title { font-size: 38px; line-height: 1.28; font-weight: 700; letter-spacing: -1.3px; text-align: center; }
/* The original wordmark is kept intact; its transparent margins are clipped in CSS. */
.floating-nav {
  position: fixed; z-index: 20; top: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 80px); max-width: 166px; height: 64px; padding: 8px 24px;
  border: 1px solid #ffffff80; border-radius: 48px; background: #ffffff59;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: max-width .4s cubic-bezier(.4,0,.2,1), height .4s, padding .4s, box-shadow .4s;
}
.brand { position: relative; display: block; flex-shrink: 0; width: 112px; height: 43px; overflow: hidden; }
.brand img { position: absolute; max-width: none; width: 151px; height: auto; left: -20px; top: -3px; }
.nav-download { position: absolute; right: 7px; display: flex; align-items: center; gap: 8px; padding: 13px 20px; min-height: 52px; background: #242424; color: #fff; border-radius: 100px; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateX(10px); transition: opacity .2s, transform .3s; }
.floating-nav.expanded { max-width: var(--content); height: 70px; padding: 7px 7px 7px 24px; box-shadow: 0 8px 24px #00000008; }
.floating-nav.expanded .nav-download { position: static; opacity: 1; visibility: visible; transform: none; transition-delay: .15s; }
/* White hero, warm lower glow, and a near edge-to-edge supplied dotted globe. */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; overflow: hidden; padding: 139px 40px 0; text-align: center; background: linear-gradient(#fff 38%, #fffdf6 62%, #fff2c6 87%, #fff 100%); }
.hero-text { position: relative; z-index: 2; }
.hero h1 { font-size: 55.8px; font-weight: 700; line-height: 1.12; letter-spacing: -2.6px; }
.hero-text p { margin-top: 22px; font-size: 20px; line-height: 1.5; color: #676767; font-weight: 500; }
.download-buttons { display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero-buttons { position: relative; z-index: 2; margin-top: 27px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 1px solid transparent; border-radius: 100px; font-size: 17px; line-height: 1.25; font-weight: 600; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.download-button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #00000015; }
.download-button:active { transform: none; }
.button-dark { background: #222; color: #fff; }
.button-warm { background: var(--gradient); color: #252525; }
.button-light { background: #ffffffeb; color: #222; }
.platform-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; font: 600 24px/1 var(--body-font); }
.hero-world { position: absolute; z-index: -1; width: max(1500px, 132vw); left: 50%; bottom: -310px; transform: translateX(-50%); opacity: .22; pointer-events: none; }
.hero-world img { width: 100%; }
.hero-art { position: relative; z-index: 1; width: min(940px, 100%); margin-top: 14px; }
.hero-art img { width: 100%; aspect-ratio: 3/2; object-fit: contain; filter: drop-shadow(0 20px 20px #55340008); }
/* Feature grid follows the original desktop silhouette and stacks on mobile. */
.features { padding-top: 72px; padding-bottom: 54px; }
.features > h2 { margin-bottom: 42px; }
.feature-grid { display: grid; grid-template-columns: 3fr 3fr 4fr; grid-template-rows: 442px 480px; gap: 20px; }
.feature-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #eaeaea; border-radius: 28px; background: #fff; }
.feature-card h3 { font-size: 24px; font-weight: 600; line-height: 1.28; letter-spacing: -.7px; margin-bottom: 12px; }
.feature-card p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.card-copy { position: relative; z-index: 2; padding: 30px 30px 0; }
.import-card { grid-column: 1/3; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(130deg, #fff 20%, #fff7dd 100%); }
.import-copy { position: relative; z-index: 2; padding: 36px 4px 30px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.source-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.source-badges span { background: #fff; border: 0; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #666; }
.promo-art { position: relative; overflow: hidden; isolation: isolate; }
.promo-art img { position: absolute; width: 100%; max-width: none; height: auto; }
.import-art { height: 100%; }
.import-art img { width: 106%; left: -3%; top: -120px; }
.itinerary-card { grid-column: 3; grid-row: 1; }
.itinerary-art { height: 286px; margin-top: 12px; }
.itinerary-art img { width: 100%; top: -226px; }
.map-card { grid-column: 3; grid-row: 2; }
.map-art { height: 304px; margin-top: 10px; }
.map-art img { top: -280px; }
.find-card { grid-column: 1; grid-row: 2; }
.find-art { height: 304px; margin-top: 16px; }
.find-art img { top: -160px; }
.lists-card { grid-column: 2; grid-row: 2; background: linear-gradient(#fff 30%, #fff8e8 100%); }
.collection-art { position: relative; padding: 0 16px 16px; width: calc(100% - 40px); margin: 28px auto 0; border: 1px solid #eee7dc; border-radius: 20px; background: white; box-shadow: 0 12px 25px #8d5c0010; transform: perspective(900px) rotateX(6deg) rotateY(-9deg) rotateZ(-3deg); }
.collection-heading { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 16px; font-weight: 700; }
.collection-heading > span:last-child { color: var(--orange); font-size: 24px; line-height: 1; }
.collection-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid #f0f0f0; font-size: 13px; font-weight: 700; white-space: nowrap; }
.collection-number { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 40px; border-radius: 10px; background: linear-gradient(140deg, #ffe59a, #ffb725); color: #744900; font-size: 12px; }
.collection-row small { display: block; font-size: 11px; color: #999; font-weight: 500; margin-top: 2px; }
.collection-arrow { margin-left: auto; font-size: 18px; color: #8f8f8f; }
/* A small amount of native depth on UI cards complements the supplied 3D artwork. */
.steps { padding: 70px 0 95px; }
.steps > h2 { margin-bottom: 42px; }
.mobile-break { display: none; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 70px; }
.step-progress { display: flex; align-items: center; height: 34px; margin-bottom: 22px; }
.step-progress span { display: grid; place-items: center; width: 48px; height: 34px; flex-shrink: 0; border-radius: 30px; color: #777; background: #f1f1f1; font-size: 16px; font-weight: 700; }
.step-progress i { height: 2px; flex: 1; margin-right: -70px; background: #ececec; }
.step:nth-child(2) .step-progress i { background: linear-gradient(90deg, #ececec, #ffc02a); }
.step:last-child .step-progress span { background: var(--gradient); color: #333; font-size: 20px; }
.step h3 { font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -.5px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.6; }
/* Closing banner reuses the supplied mascot and globe, with editable HTML copy. */
.cta { padding-bottom: 70px; }
.cta-card { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 376px; padding: 44px 50px; overflow: hidden; border-radius: 30px; background: linear-gradient(115deg, #ffea93, #ffcf21 52%, #ffac16); }
.cta-globe { position: absolute; z-index: -1; width: 860px; max-width: none; left: -200px; bottom: -190px; opacity: .17; }
.cta-mascot { width: 37%; flex-shrink: 0; }
.cta-mascot img { width: 183px; height: auto; margin: 0 auto; filter: drop-shadow(0 14px 13px #976a0022); }
.cta-content { width: 63%; position: relative; }
.cta h2 { font-size: 42px; line-height: 1.17; letter-spacing: -1.5px; font-weight: 800; }
.cta-content p { font-size: 18px; margin-top: 17px; color: #594314; }
.cta .download-buttons { margin-top: 24px; justify-content: flex-start; }
.cta .download-button { font-size: 16px; padding-inline: 22px; }
.footer { padding: 0 24px 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--content); margin: auto; gap: 20px; border-top: 1px solid #ececec; padding-top: 22px; color: #888; font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a:hover { color: #222; }
.social-link { font-size: 24px; line-height: 1; }
/* Scroll animation progressively enhances visible-by-default content. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .65s ease, transform .65s ease; }
  .reveal.is-pending { opacity: 0; transform: translateY(24px); }
  .hero-art img { animation: hero-arrive .8s ease both; }
  @keyframes hero-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
dialog { position: fixed; width: calc(100% - 40px); max-width: 440px; max-height: calc(100dvh - 40px); overflow: auto; padding: 36px; margin: auto; border: 0; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 16px 70px #00000020; text-align: center; }
dialog::backdrop { background: #0008; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; background: transparent; color: #999; font-size: 28px; }
.dialog-close:hover { color: #222; }
/* Prevent native iOS button chrome and tap/focus rectangles on modal dismiss controls. */
.dialog-close,
.dialog-close:focus,
.dialog-close:focus-visible,
.dialog-close:active {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.dialog-mascot { height: 100px; width: auto; margin: 0 auto 16px; }
dialog h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.7px; margin-bottom: 12px; }
dialog > p { color: #777; margin-bottom: 24px; font-size: 16px; line-height: 1.5; }
form { display: flex; flex-direction: column; gap: 12px; }
input { min-width: 0; width: 100%; height: 54px; padding: 14px 18px; border: 1px solid #ddd; border-radius: 12px; background: #fff; color: #222; }
.submit-button { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; background: var(--gradient); color: #222; font-size: 16px; font-weight: 700; }
.submit-button:hover { filter: brightness(.98); }
.submit-button:disabled { opacity: .5; cursor: wait; }
.form-status { color: #777; font-size: 14px; line-height: 1.5; }
.legal-page { max-width: 800px; padding: 150px 24px 70px; margin: auto; }
.legal-page h1 { font-size: 38px; margin-bottom: 24px; }
.legal-page section { padding: 24px 0; scroll-margin-top: 120px; }
.legal-page h2 { font-size: 26px; margin-bottom: 12px; }
.legal-page p { color: #666; line-height: 1.7; }
.legal-page > a { display: inline-block; margin-top: 24px; text-decoration: underline; }
@media (max-width: 1279px) {
  .container { margin-inline: 32px; }
  .hero h1 { font-size: 52.2px; }
  .feature-card h3 { font-size: 22px; }
  .collection-art { width: calc(100% - 28px); padding-inline: 12px; }
  .collection-row { gap: 8px; font-size: 12px; }
  .collection-number { width: 30px; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: 430px 480px 480px; }
  .import-card { grid-column: 1/-1; grid-row: 1; }
  .itinerary-card { grid-column: 1; grid-row: 2; }
  .map-card { grid-column: 2; grid-row: 2; }
  .find-card { grid-column: 1; grid-row: 3; }
  .lists-card { grid-column: 2; grid-row: 3; }
  .itinerary-art img { top: -160px; }
  .map-art img { top: -210px; }
  .find-art img { top: -160px; }
}
@media (max-width: 1024px) {
  .floating-nav { width: calc(100% - 40px); }
  .container { margin-inline: 24px; }
  .hero { padding-inline: 24px; }
  .hero h1 { font-size: 48.6px; }
  .hero-art { margin-top: 25px; width: 100%; }
  .hero-world { width: 1450px; bottom: -320px; }
  .section-title { font-size: 32px; }
  .card-copy { padding-inline: 26px; }
  .step-grid { gap: 32px; }
  .step-progress i { margin-right: -32px; }
  .step h3 { font-size: 19px; }
  .cta-card { padding: 36px 30px; }
  .cta-mascot { width: 30%; }
  .cta-mascot img { max-width: 90%; }
  .cta-content { width: 70%; }
  .cta h2 { font-size: 34px; }
  .cta-content p { font-size: 16px; }
  .cta .download-buttons { gap: 10px; flex-wrap: wrap; }
  .cta .download-button { font-size: 14px; padding-inline: 16px; }
  .footer-inner { font-size: 12px; }
  .footer nav { gap: 14px; }
}
@media (max-width: 600px) {
  .container { margin-inline: 16px; }
  .floating-nav { top: 20px; width: calc(100% - 24px); max-width: 150px; height: 60px; padding-inline: 18px; }
  .floating-nav.expanded { padding-left: 14px; height: 66px; }
  .brand { width: 105px; }
  .brand img { width: 144px; }
  .nav-download { font-size: 13px; min-height: 48px; padding: 12px 14px; gap: 4px; }
  .nav-download .platform-icon { width: 18px; font-size: 20px; }
  .hero { padding: 125px 16px 0; }
  .hero h1 { font-size: clamp(30.6px, 8.37vw, 43.2px); line-height: 1.13; letter-spacing: -1.6px; }
  .hero-text p { font-size: 16px; line-height: 1.5; margin-top: 18px; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 10px; margin-top: 24px; }
  .hero-buttons .download-button { width: 100%; max-width: 310px; min-height: 54px; font-size: 16px; }
  .hero-art { width: calc(100% + 40px); max-width: none; margin-top: 24px; margin-inline: -20px; }
  .hero-world { width: 970px; bottom: -270px; opacity: .2; }
  .features { padding-top: 52px; padding-bottom: 36px; }
  .section-title { font-size: 27px; line-height: 1.3; letter-spacing: -.9px; }
  .features > h2 { font-size: 25px; margin-bottom: 30px; }
  .feature-grid { display: flex; flex-direction: column; gap: 18px; }
  .feature-card { border-radius: 25px; }
  .feature-card h3 { font-size: 23px; letter-spacing: -.6px; }
  .feature-card p { font-size: 16px; }
  .card-copy { padding: 28px 26px 0; }
  .import-card { display: flex; flex-direction: column; }
  .import-copy { padding: 28px 26px 0; gap: 22px; }
  .source-badges { gap: 7px; }
  .source-badges span { padding: 5px 9px; font-size: 12px; }
  .promo-art { width: 100%; }
  .import-art { height: 390px; margin-top: 20px; }
  .import-art img { width: 100%; left: 0; top: -145px; }
  .itinerary-art { height: 360px; margin-top: 20px; }
  .itinerary-art img { width: 100%; top: -170px; }
  .map-art { height: 365px; margin-top: 20px; }
  .map-art img { top: -220px; }
  .find-art { height: 360px; margin-top: 20px; }
  .find-art img { top: -165px; }
  .collection-art { max-width: 350px; margin: 32px auto 38px; width: calc(100% - 44px); padding-inline: 16px; }
  .collection-row { font-size: 14px; padding-block: 16px; }
  .collection-row small { font-size: 12px; }
  .collection-number { width: 38px; }
  .steps { padding: 45px 8px 60px; }
  .steps > h2 { margin-bottom: 32px; }
  .mobile-break { display: block; }
  .step-grid { display: flex; flex-direction: column; gap: 28px; }
  .step { position: relative; padding-left: 62px; }
  .step-progress { position: absolute; top: 1px; left: 0; margin: 0; }
  .step-progress span { width: 42px; height: 32px; font-size: 14px; }
  .step-progress i { display: none; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; }
  .cta { padding-bottom: 45px; }
  .cta-card { flex-direction: column; min-height: 550px; padding: 28px 24px 32px; text-align: center; }
  .cta-mascot { width: 100%; margin-bottom: 18px; }
  .cta-mascot img { width: 95px; }
  .cta-content { width: 100%; }
  .cta h2 { font-size: 31px; letter-spacing: -1px; }
  .cta-content p { font-size: 16px; margin-top: 14px; }
  .cta .download-buttons { flex-direction: column; gap: 10px; margin-top: 22px; }
  .cta .download-button { width: 100%; max-width: 310px; min-height: 54px; font-size: 15px; }
  .cta-globe { width: 750px; left: -185px; bottom: -90px; }
  .footer { padding-inline: 20px; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .footer nav { justify-content: center; gap: 10px 18px; }
  .copyright { order: 2; text-align: center; }
  .social-link { order: 1; }
  dialog { padding: 30px 24px; }
  dialog h2 { font-size: 23px; }
  .legal-page { padding-top: 120px; }
  .legal-page h1 { font-size: 30px; }
}
@media (max-width: 360px) {
  .floating-nav.expanded .brand { width: 86px; }
  .floating-nav.expanded .brand img { width: 124px; top: 1px; left: -18px; }
  .nav-download { font-size: 12px; padding-inline: 12px; }
  .hero-text p { font-size: 15px; }
  .features > h2 { font-size: 22px; }
  .collection-row { font-size: 12px; }
  .collection-row small { font-size: 11px; }
  .collection-art { padding-inline: 12px; }
  .import-art { height: 330px; }
  .import-art img { top: -112px; }
  .itinerary-art img { top: -128px; }
  .map-art img { top: -160px; }
  .find-art img { top: -120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Crop by a fraction of each poster's own height, keeping headlines hidden
   at every width rather than relying on fixed pixel offsets. */
.promo-art img { top: 0; transform: translateY(-22%); }
.map-art img { transform: translateY(-28%); }

/* Matched store badges: identical sizing in hero and download section. */
.hero-text p { max-width: 520px; margin-inline: auto; }
.download-button.store-badge,
.hero-buttons .download-button.store-badge,
.cta .download-button.store-badge {
  width: 226px;
  height: 70px;
  min-height: 70px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 10px 17px;
  gap: 12px;
  border: 1.5px solid #a6a6a6;
  border-radius: 13px;
  background: #050505;
  color: #fff;
  text-align: left;
  justify-content: flex-start;
}
.store-badge img { width: 36px; height: 40px; object-fit: contain; flex-shrink: 0; }
.store-label { display: flex; flex-direction: column; gap: 0; }
.store-kicker { font-family: Arial, sans-serif; font-size: 11px; font-weight: 400; line-height: 1.25; letter-spacing: .15px; }
.store-name { font-family: Arial, sans-serif; font-size: 27px; font-weight: 400; line-height: 1.15; letter-spacing: -.6px; }
@media (max-width: 600px) {
  .hero-text p { max-width: 340px; }
}

/* Supplied hero, shared pale card surfaces, and cropped banner mascot. */
.hero-text p { max-width: 850px; }
@media (min-width: 1025px) { .hero-text p { white-space: nowrap; } }
.hero-art { width: min(1188px, calc(90% + 72px)); max-width: none; aspect-ratio: 1.8; overflow: hidden; margin-top: 20px; }
.hero-art img { position: absolute; top: -2%; width: 100%; height: auto; aspect-ratio: auto; filter: none; }
.feature-card, .import-card, .lists-card { border: 0; background: linear-gradient(155deg, #fff0df 5%, #fff8cd 100%); }
/* Preserve original artwork colours, including opaque white UI surfaces. */
.promo-art { mix-blend-mode: normal; }
.map-art { height: 320px; margin-top: 12px; }
.map-art img { width: 100%; top: 0; transform: none; }
.cta-mascot { align-self: stretch; position: relative; }
.cta-mascot img { position: absolute; width: 270px; max-width: none; left: 50%; top: 26px; transform: translateX(-50%); margin: 0; }
@media (min-width: 601px) and (max-width: 1024px) {
  .cta-mascot img { width: 235px; left: 42%; top: 34px; }
}
@media (max-width: 600px) {
  .hero-text p { max-width: 350px; white-space: normal; }
  .hero-art { width: calc(90% + 144px); margin-inline: -72px; aspect-ratio: 1.8; margin-top: 20px; }
  .map-art { height: 330px; }
  .cta-mascot { height: 180px; min-height: 180px; overflow: hidden; margin-bottom: 18px; }
  .cta-mascot img { width: 170px; top: 0; left: 50%; }
}

.map-art { mask-image: linear-gradient(to bottom, transparent, #000 22px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22px); }
.map-art img { top: -18px; }
@media (max-width: 600px) {
  .cta-mascot { mask-image: linear-gradient(#000 72%, transparent 100%); -webkit-mask-image: linear-gradient(#000 72%, transparent 100%); }
}

/* One gradient field, sampled through each card's rounded silhouette.
   script.js synchronizes its dimensions and offsets after responsive reflow. */
.feature-grid {
  position: relative;
  --card-gradient:
    linear-gradient(180deg, rgb(246 246 246 / 0%) 0%, rgb(246 246 246 / 35%) 40%, #f6f6f6 100%),
    linear-gradient(90deg, #fff3ca 0%, #fff0cf 50%, #ffedda 100%);
}
.feature-card, .import-card, .lists-card {
  background-image: var(--card-gradient);
  background-size: var(--gradient-width, 100%) var(--gradient-height, 100%);
  background-position: var(--gradient-x, 0px) var(--gradient-y, 0px);
  background-repeat: no-repeat;
  background-color: #fff;
}

/* Feather only the outer poster edge, never multiply the foreground colours. */
.itinerary-art, .find-art { mask-image: linear-gradient(to bottom, transparent, #000 26px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px); }
.import-art { mask-image: linear-gradient(to right, transparent, #000 22px); -webkit-mask-image: linear-gradient(to right, transparent, #000 22px); }
@media (max-width: 600px) {
  .import-art { mask-image: linear-gradient(to bottom, transparent, #000 26px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px); }
}

/* Hero elements reduced by 10%; lower download section retains its sizing. */
.hero-buttons .download-button.store-badge {
  width: 203.4px; height: 63px; min-height: 63px;
  padding: 9px 15.3px; gap: 10.8px;
  border-width: 1.35px; border-radius: 11.7px;
}
.hero-buttons .store-badge img { width: 32.4px; height: 36px; }
.hero-buttons .store-kicker { font-size: 9.9px; letter-spacing: .135px; }
.hero-buttons .store-name { font-size: 24.3px; letter-spacing: -.54px; }

/* Imported legal documents: readable spacing and native anchor navigation. */
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 36px; }
.legal-page h3 { font-size: 20px; line-height: 1.4; margin: 28px 0 12px; font-weight: 600; }
.legal-page p, .legal-page ul { margin-bottom: 16px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page section { overflow-wrap: anywhere; }

#info-dialog .submit-button { background: #050505; color: #fff; }
#info-description a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page h2 { margin-top: 28px; }

/* Centre the supplied landscape artwork within the map card's image area. */
.map-card { display: flex; flex-direction: column; }
.map-art {
  display: flex; align-items: center; justify-content: center;
  flex: 1; height: auto; min-height: 230px; margin: 0; padding: 24px 18px;
  mask-image: none; -webkit-mask-image: none;
}
.map-art img { position: static; width: 100%; height: auto; top: auto; transform: none; object-fit: contain; }

/* Optical centring applies only to the compact navigation pill. */
.floating-nav:not(.expanded) .brand { transform: translateX(4px); }
.import-art {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 12px; mask-image: none; -webkit-mask-image: none;
}
.import-art img { position: static; width: 100%; height: auto; max-height: 100%; object-fit: contain; transform: none; }
@media (max-width: 600px) {
  .import-art { height: auto; margin-top: 0; padding: 8px 20px 24px; }
}

/* Replacement card artwork uses its full composition and original white UI. */
.itinerary-card, .find-card { display: flex; flex-direction: column; }
.itinerary-art, .find-art {
  display: flex; align-items: flex-end; justify-content: center;
  flex: 1; height: auto; min-height: 0;
  mask-image: none; -webkit-mask-image: none;
}
.itinerary-art img, .find-art img {
  position: static; width: 100%; height: 100%; max-height: 100%;
  object-fit: contain; object-position: center bottom; transform: none;
}
@media (max-width: 600px) {
  .itinerary-art, .find-art { flex: none; height: 300px; }
}

/* New portrait import composition; crop the empty upper margin. */
.import-art { display: block; padding: 0; height: 100%; }
.import-art img { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-height: none; transform: translateY(-20%); }
/* Oversized search artwork meets the card bottom; side overflow is clipped. */
.find-art img {
  position: absolute; top: auto; bottom: 0; left: 50%;
  width: 125%; height: auto; max-height: none;
  transform: translate(-50%, 9%);
}
@media (max-width: 600px) {
  .import-art { height: 390px; }
}

/* Match the former fifth-card artwork size and vertical centre in card four. */
.travel-art img { position: absolute; left: 50%; top: var(--travel-top, 180px); width: var(--travel-width, 428px); max-width: none; height: auto; transform: translateX(-50%); }
@media (max-width: 600px) { .travel-art { height: 300px; } }

/* Fit the new search artwork fully inside card three, flush with its bottom. */
.find-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%;
  object-fit: contain; object-position: center bottom; transform: none;
}

/* Top-bar/title gap: 52.5px desktop and 84.375px mobile. */
.hero { padding-top: 144.5px; }
.hero h1 { font-size: 48px; line-height: 1.15; letter-spacing: -.02em; }
.hero-text p { margin-top: 8px; }
.hero-buttons { margin-top: 24px; }
.hero-art { margin-top: 54px; transform: translateX(.6%); }
.hero-art img { top: 0; }
@media (min-width: 601px) and (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .hero-text p { font-size: 18px; }
  .hero-buttons { margin-top: 17px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 164.375px; }
  .hero h1 { font-size: 28px; }
  .hero-text p { font-size: 16px; margin-top: 8px; }
  .hero-buttons { margin-top: 11px; }
}

/* The supplied travel mascot sits directly on the closing card's lower edge. */
.cta-mascot {
  align-self: stretch;
  width: 39%;
  margin: 0;
  overflow: visible;
}
.cta-mascot img {
  top: auto;
  bottom: -44px;
  width: 340px;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 13px #976a0022);
}
.cta-content { width: 61%; }

@media (min-width: 601px) and (max-width: 1024px) {
  .cta-mascot { width: 37%; }
  .cta-mascot img {
    left: 50%;
    top: auto;
    bottom: -36px;
    width: 300px;
  }
  .cta-content { width: 63%; }
}

@media (max-width: 600px) {
  .cta-card {
    display: block;
    min-height: 670px;
    padding-bottom: 300px;
  }
  .cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  .cta-mascot {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 285px;
    min-height: 0;
    margin: 0;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .cta-mascot img {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 270px;
  }
}

/* Custom download controls with white backgrounds and dark labels. */
.hero-buttons .download-pill, .cta .download-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 254px; max-width: 100%; height: 54px; min-height: 54px;
  padding: 0 32px; gap: 10px; border-radius: 73px;
  border: 1px solid rgb(255 174 22 / 16%);
  background: #fff; color: #111;
  font-family: var(--body-font); font-size: 16px; font-weight: 600; line-height: 1.25;
}
.download-pill img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0); }
.hero-buttons { gap: 14px; }
@media (max-width: 600px) {
  .hero-buttons { gap: 12px; }
  .hero-buttons .download-pill, .cta .download-pill { width: 320px; }
}

.download-pill[data-destination="android"] img { filter: none; }
