:root {
  --blue: #082c72;
  --blue-deep: #051b48;
  --orange: #ff7a00;
  --yellow: #ffd21c;
  --ink: #101828;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #e5e9f2;
  --green: #16865c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--soft); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(8, 44, 114, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 166px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #344054; font-size: .94rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links .web-order-link { padding: 11px 16px; border-radius: 999px; background: var(--yellow); color: var(--blue-deep); }
.web-order-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 19px; border-radius: 14px; background: var(--yellow); color: var(--blue-deep); font-weight: 850; text-decoration: none; }
.web-order-cta:hover, .nav-links .web-order-link:hover { background: #ffe06a; color: var(--blue-deep); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--orange); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background: var(--blue);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -120px;
  top: -210px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .95;
}
.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -150px;
  bottom: -180px;
  border: 54px solid var(--orange);
  border-radius: 50%;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: #ffd85a; font-size: .86rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy { max-width: 620px; margin: 24px 0 30px; color: #d6def1; font-size: 1.13rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.play-button, .secondary-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}
.play-button { background: var(--orange); color: white; box-shadow: 0 12px 30px rgba(255, 122, 0, .28); }
.play-button:hover, .play-button:focus-visible { background: #ed7000; transform: translateY(-1px); }
.play-icon { width: 24px; height: 24px; fill: currentColor; }
.hero-note { color: #bdc9e3; font-size: .9rem; }
.phone-card { position: relative; padding: 17px; border: 1px solid rgba(255,255,255,.19); border-radius: 34px; background: rgba(255,255,255,.11); box-shadow: 0 34px 80px rgba(2, 14, 42, .42); transform: rotate(2deg); }
.phone-card img { width: 100%; aspect-ratio: 1.16 / 1; object-fit: cover; border-radius: 23px; }
.floating-badge { position: absolute; left: -32px; bottom: 28px; max-width: 220px; padding: 15px 18px; border-radius: 17px; background: white; color: var(--ink); box-shadow: 0 16px 35px rgba(0,0,0,.2); font-weight: 800; }
.floating-badge span { display: block; margin-top: 4px; color: var(--green); font-size: .81rem; }

.section { padding: 84px 0; }
.section-title { max-width: 680px; margin: 0 0 12px; color: var(--blue-deep); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.section-lede { max-width: 680px; margin: 0 0 36px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 16px 40px rgba(16, 24, 40, .05); }
.feature-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff4e8; color: var(--orange); font-weight: 900; }
.feature h3 { margin: 24px 0 10px; color: var(--blue-deep); font-size: 1.28rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.65; }

.trust { padding: 64px 0; background: #fff8df; }
.trust-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.icon-tile { width: min(100%, 360px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 34px; background: var(--yellow); transform: rotate(-3deg); box-shadow: 18px 20px 0 rgba(255, 122, 0, .15); }
.icon-tile img { width: 82%; border-radius: 24px; }
.check-list { display: grid; gap: 16px; margin-top: 28px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: #344054; line-height: 1.55; }
.check-mark { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #dff7ec; color: var(--green); font-weight: 900; }

.legal-strip { padding: 76px 0; background: white; }
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.legal-card { padding: 26px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: .18s ease; }
.legal-card:hover, .legal-card:focus-visible { border-color: var(--orange); transform: translateY(-3px); }
.legal-card strong { display: block; margin-bottom: 8px; color: var(--blue-deep); font-size: 1.1rem; }
.legal-card span { color: var(--muted); line-height: 1.55; }

.footer { padding: 34px 0; background: var(--blue-deep); color: #cad3e7; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: white; }

/* Category showcase ------------------------------------------------------ */
/* The four banners are the app's own artwork, text and all, so the card is
   just a frame: no overlay, nothing competing with what is already drawn. */
.categories { padding: 68px 0; background: white; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.category-card {
  display: block;
  /* The banner is artwork, not a photo bleed: a small mat around it reads as a
     card and stops four big rectangles running into each other. */
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* 16:10 is the ratio the app's own carousel uses (512/320). Against the 3:2
   source that trims about 6% off the top and bottom -- well clear of the
   headline and button baked into each banner -- and takes real height off the
   section. */
.category-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.category-label { display: none; }
.category-card:hover, .category-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(16, 24, 40, .11);
}

/* Order journey ---------------------------------------------------------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.journey figure { margin: 0; }
.journey img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
.journey figcaption { margin-top: 15px; color: var(--blue-deep); font-weight: 850; }
.journey figcaption span { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; font-size: .95rem; line-height: 1.6; }

/* Fresh produce band ----------------------------------------------------- */
.fresh { padding: 68px 0; background: white; }
.fresh-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.fresh-stack { display: grid; gap: 18px; }
.fresh-stack img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 18px 44px rgba(16, 24, 40, .1); }
.fresh-stack img:first-child { aspect-ratio: 16 / 10; object-fit: cover; }
.fresh-stack img:last-child { aspect-ratio: 16 / 7; object-fit: cover; }


.policy-hero { padding: 68px 0 56px; background: var(--blue); color: white; }
.policy-hero h1 { max-width: 850px; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.policy-hero p { max-width: 720px; margin: 20px 0 0; color: #d6def1; font-size: 1.05rem; line-height: 1.7; }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 54px; padding: 64px 0 90px; align-items: start; }
.policy-meta { position: sticky; top: 104px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.policy-meta strong { display: block; color: var(--blue-deep); margin-bottom: 4px; }
.policy-content { padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 44px rgba(16,24,40,.05); }
.policy-content h2 { margin: 38px 0 12px; color: var(--blue-deep); font-size: 1.45rem; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { color: #475467; line-height: 1.75; }
.policy-content ul, .policy-content ol { padding-left: 1.25rem; }
.notice { margin: 26px 0; padding: 20px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: #fff8eb; color: #663c00; line-height: 1.65; }
.email-link { color: var(--blue); font-weight: 800; }


@media (max-width: 820px) {
  .nav-links a:not(.nav-legal):not(.web-order-link) { display: none; }
  .hero { padding: 58px 0 70px; }
  .hero-grid, .trust-grid, .policy-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .phone-card { max-width: 560px; margin: 0 auto; }
  .feature-grid, .legal-grid { grid-template-columns: 1fr; }
  .categories, .fresh { padding: 52px 0; }
  .journey { grid-template-columns: 1fr; }
  /* The banners stay two-up at every width. Dropping to one column was what
     made them look enormous on a narrow window, and a 2x2 block uses the
     space far better. Only the mat and the gap shrink, so the artwork keeps
     as much width as the screen can give it. */
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 6px 6px 2px; border-radius: 16px; }
  /* Two-up on a phone shrinks each banner to about a tenth of its size, which
     turns the type baked into it into a smudge. So at this width the artwork
     stops carrying the words: crop to the food on its right-hand side and let
     real text underneath do the talking. 2:3 anchored right is the widest crop
     that clears the headline in all four banners -- 4:5 still left half-letters
     bleeding in on the veggies and services art. */
  .category-card img { aspect-ratio: 2 / 3; object-position: 100% 50%; border-radius: 11px; }
  .category-label {
    display: block;
    margin: 9px 3px 7px;
    color: var(--blue-deep);
    font-size: .95rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -.01em;
  }
  .category-label span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
  }
  .fresh-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature { min-height: 0; }
  .trust-grid { gap: 44px; }
  .icon-tile { margin: 0 auto; }
  .policy-meta { position: static; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-inner { min-height: 66px; }
  .brand img { width: 145px; }
  .nav-links { gap: 14px; font-size: .86rem; }
  .hero { padding-top: 44px; }
  h1 { font-size: 3rem; }
  .floating-badge { left: 8px; bottom: 10px; }
  .section { padding: 64px 0; }
  .policy-content { padding: 24px 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
