/* ==========================================================================
   ParkEats marketing site
   Palette and type are lifted from the app itself (lib/disn_eats_theme.dart)
   so the landing page and the product read as the same thing.
   ========================================================================== */

:root {
  --navy:       #1E4A5C;
  --navy-deep:  #143440;
  --navy-ink:   #0C222B;
  --jade:       #128C7E;
  --jade-soft:  #7FE3D1;
  --jade-deep:  #0F7568;
  --rose:       #E0355F;
  --rose-pale:  #FBE3E9;
  --ivory:      #FBF5F3;
  --ivory-deep: #F3EDE0;
  --ink:        #16242B;
  --muted:      #5C6E77;
  --line:       rgba(30, 74, 92, 0.14);

  --wrap: 1120px;
  --radius: 18px;
  --shadow-card: 0 1px 2px rgba(12, 34, 43, 0.06), 0 12px 28px -12px rgba(12, 34, 43, 0.22);
  --shadow-phone: 0 30px 60px -20px rgba(12, 34, 43, 0.55), 0 8px 20px -8px rgba(12, 34, 43, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--jade);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:where(a, button):focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ------------------------------- buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

/* Jade is dark enough to carry white text, so hover darkens rather than
   lightens — flipping to --jade-soft here would strand the white label on a
   pale mint fill. */
.btn-jade {
  background: var(--jade);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 18px -8px rgba(18, 140, 126, 0.85);
}
.btn-jade:hover { background: var(--jade-deep); transform: translateY(-1px); }
.btn-jade:active { transform: translateY(0); }

.btn-sm { padding: 9px 18px; font-size: 0.95rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* ------------------------------- header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 118px; height: auto; }

.header-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.98rem;
}
.header-nav a {
  text-decoration: none;
  color: var(--navy);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.header-nav a:hover { border-bottom-color: var(--jade); }

/* --------------------------- marquee bulb trim --------------------------- */
/* A row of warm bulbs along the edge of the dark sections — the look of a
   park marquee, drawn in CSS so no borrowed artwork is involved. */

.bulbs {
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background-image: radial-gradient(circle, var(--jade-soft) 0 2.6px, transparent 3px);
  background-size: 26px 10px;
  background-position: center;
  background-repeat: repeat-x;
  opacity: 0.65;
  filter: drop-shadow(0 0 4px rgba(127, 227, 209, 0.65));
}
.hero .bulbs { top: 0; }
.cta .bulbs  { top: 0; }

/* --------------------------------- hero ---------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 460px at 88% 4%, rgba(127, 227, 209, 0.13), transparent 60%),
    radial-gradient(760px 480px at 4% 96%, rgba(224, 53, 95, 0.15), transparent 60%),
    linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-ink) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding-block: 84px 0;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--jade-soft);
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--jade-deep); }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.55rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.lede {
  font-size: 1.16rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
}
.hero .lede em { color: var(--jade-soft); font-style: italic; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 84px;
}

.cta-note {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 24ch;
  line-height: 1.4;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
}

/* ------------------------------ phone frame ------------------------------ */

.phone {
  position: relative;
  width: 300px;
  max-width: 76vw;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(155deg, #4A5860, #1B242A 45%, #333E45);
  box-shadow: var(--shadow-phone);
}
/* No camera pill: the screenshots are captured without an iOS status bar, so a
   drawn notch would sit on top of the app's own header instead of above it. */

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--ivory);
  aspect-ratio: 390 / 844;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero .phone { margin-bottom: -70px; }
.phone-sm { width: 268px; }

/* -------------------------------- bands ---------------------------------- */

.band { padding-block: 92px; }
.band-ivory { background: var(--ivory); }

.section-head { max-width: 44ch; margin-bottom: 60px; }

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--navy);
  text-wrap: balance;
}

/* -------------------------------- cards ---------------------------------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
.card-flat { box-shadow: none; background: #fff; }

.card h2, .card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--navy);
  color: var(--jade-soft);
}
.card-icon svg { width: 25px; height: 25px; }

/* ------------------------------- features -------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 46px;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature-reverse .feature-copy { order: 2; }

.feature h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.feature p { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }

.feature-art { display: flex; justify-content: center; }

.ticks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 600;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--jade);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

/* ------------------------------- allergies ------------------------------- */

.band-allergy {
  background: linear-gradient(180deg, var(--rose-pale) 0%, #fff 100%);
}

.allergy-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.band-allergy .eyebrow { color: var(--rose); }
.band-allergy h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.band-allergy .lede { color: var(--muted); max-width: 52ch; }

.fineprint {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 3px solid var(--rose);
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 52ch;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.chip {
  background: #fff;
  border: 1px solid rgba(224, 53, 95, 0.28);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.chip:nth-child(3n) { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ---------------------------------- CTA ---------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(127, 227, 209, 0.22), transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%);
}

.cta-inner { padding-block: 88px; display: grid; justify-items: center; gap: 18px; }
.cta-icon { border-radius: 20px; box-shadow: var(--shadow-card); }
.cta h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
  max-width: 20ch;
  text-wrap: balance;
}
.cta .lede { color: var(--jade-soft); font-size: 1.2rem; }
.cta .btn { margin-top: 12px; }

/* -------------------------------- footer --------------------------------- */

.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 52px 36px;
  font-size: 0.96rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img { width: 132px; height: auto; margin-bottom: 12px; }
.footer-tag { max-width: 32ch; }

.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--jade-soft); text-decoration: underline; }

.disclaimer {
  padding-top: 28px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}
.disclaimer p { max-width: 88ch; }
.copyright { margin-top: 14px; }

/* ------------------------------ responsive ------------------------------- */

@media (max-width: 940px) {
  .hero-inner,
  .feature,
  .allergy-inner { grid-template-columns: 1fr; }

  .hero-inner { gap: 12px; padding-block: 60px 0; }
  .cta-row { padding-bottom: 56px; }
  .hero .phone { margin-bottom: -48px; }
  .hero-art { justify-content: center; }

  .feature { gap: 40px; padding-block: 40px; }
  .feature-reverse .feature-copy { order: 0; }

  .cards-3 { grid-template-columns: 1fr; }
  .band { padding-block: 68px; }
  .header-nav { display: none; }
  .brand { margin-right: auto; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .cta-note { max-width: none; }
  .btn-lg { width: 100%; }
  .chip-cloud { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Support section */
#support .lede { max-width: 60ch; }
.support-email { margin-block: 26px 30px; }
.support-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
  max-width: 70ch;
}
.support-list li {
  padding-left: 18px;
  border-left: 3px solid var(--jade-soft);
  color: var(--muted);
  line-height: 1.55;
}
.support-list strong { color: var(--ink); font-weight: 600; }
.support-note { color: var(--muted); font-size: 0.95rem; }
