/* =========================================================
   Milko — customer landing page (Figma: Milko-App / 942:451)
   ========================================================= */
:root {
  --blue: #1a97e9;
  --blue-deep: #188fdd;
  --ink: #2c2f42;
  --ink-2: #1a1d2e;
  --text: #31302f;
  --muted: #6b7280;
  --grad-blue: linear-gradient(180deg, #1a97e9 6.25%, #188fdd 122.92%);
  --tint: rgba(26, 151, 233, 0.1);
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Manrope", "Inter", sans-serif;
  --font-ui: "Inter", sans-serif;
  --page: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.accent {
  color: var(--blue);
}

/* ---------- shared: section heading ---------- */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px;
  border-radius: 50px;
  background: var(--tint);
  font: 600 16px/28px var(--font-ui);
  text-transform: uppercase;
  white-space: nowrap;
}
.pill > span {
  color: var(--blue);
  opacity: 0.7;
}
.pill > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sec-head h2,
.brands-intro h2,
.sellers-copy h2 {
  margin-top: 4px;
  font: 700 58px/72px var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  color: var(--ink);
  text-transform: capitalize;
  letter-spacing: 0;
}
.sec-head p {
  margin-top: 16px;
  max-width: 800px;
  font: 400 18px/28px var(--font-body);
  color: var(--text);
}

/* ---------- shared: buttons & store badges ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 80px;
  padding: 0 24px;
  border-radius: 50px;
  background: var(--grad-blue);
  color: #f5f5f2;
  font: 600 20px/1.4 var(--font-ui);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-pill:hover,
.how-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 151, 233, 0.35);
}
.btn-pill img {
  width: 24px;
  height: 24px;
}
.btn-pill--wide {
  width: 349px;
}

.store-badges {
  display: flex;
  gap: 16px;
}
.store-badges--stack {
  flex-direction: column;
}
.store-badge {
  position: relative;
  display: flex;
  align-items: center;
  width: 164.84px;
  height: 54.95px;
  padding-left: 9.6px;
  gap: 11px;
  background: #000;
  border: 1.374px solid #a6a6a6;
  border-radius: 6px;
  color: #fff;
  transition: transform 0.15s ease;
}
.store-badge:hover {
  transform: translateY(-2px);
}
.store-badge--flat {
  border: 0;
  border-radius: 8px;
  padding-left: 11px;
}
.store-badge > img {
  height: 32.97px;
  width: auto;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
}
.store-badge-text small {
  font: 500 12.36px/12.36px -apple-system, "SF Pro Text", var(--font-ui);
}
.store-badge-text strong {
  font: 500 24.73px/1 -apple-system, "SF Pro Display", var(--font-ui);
  letter-spacing: -0.47px;
}
.store-badge-text--play {
  gap: 4px;
  margin-top: -2px;
}
.store-badge-text--play small {
  font: 400 13.74px/normal var(--font-ui);
  text-transform: uppercase;
}
.store-badge-text--play img {
  width: 101.65px;
  height: 20.6px;
  transform: scaleY(-1);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-bottom: 53px;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(1540px, 107vw);
  max-width: none;
  height: 1069px;
  object-fit: cover;
  pointer-events: none;
}

/* nav */
.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 12px 59px 0 64px;
}
.nav-logo img {
  width: 112px;
  height: 48px;
}
.nav-menu {
  flex: 0 1 929px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 54px;
}
.nav-links a {
  font: 500 16px/1.4 var(--font-body);
  color: #181818;
  opacity: 0.8;
  white-space: nowrap;
  transition: opacity 0.15s, color 0.15s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--blue);
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--grad-blue);
  color: #f5f5f2;
  font: 600 14px/1.4 var(--font-ui);
  white-space: nowrap;
}
.btn-download img {
  width: 16px;
  height: 16px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* copy */
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 40px auto 0;
  padding: 0 16px;
  max-width: 702px;
}
.hero-eyebrow {
  font: 400 16px/28px var(--font-body);
  color: var(--text);
  opacity: 0.7;
}
.hero-title {
  margin-top: 4px;
  font: 700 58px/72px var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  color: var(--ink);
  text-transform: capitalize;
  white-space: nowrap;
}
.hero-title .accent {
  display: block;
}
.hero-lead {
  margin-top: 16px;
  max-width: 670px;
  font: 400 18px/28px var(--font-body);
  color: var(--text);
}
.hero-copy .store-badges {
  margin-top: 24px;
}

/* visual (phone + floating cards), laid out on the 1154×727 design box */
.hero-visual {
  --vw: min(1154px, 100vw - 32px);
  position: relative;
  width: var(--vw);
  aspect-ratio: 1154 / 727;
  margin: 12px auto 0;
  transform: translateX(3.73%);
}
.hero-visual > img {
  position: absolute;
  max-width: none;
  height: auto;
}
.hero-phone {
  left: 13.6%;
  top: 0;
  width: 65.77%;
  z-index: 2;
}
.hero-card {
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}
.hero-card--sellers {
  left: 0;
  top: 12.1%;
  width: 27.12%;
}
.hero-card--popular {
  left: 75.65%;
  top: 0.96%;
  width: 24.35%;
  animation-delay: -2s;
}
.hero-card--delivery {
  left: 67.24%;
  top: 37.41%;
  width: 18.37%;
  filter: drop-shadow(0 4px 25px rgba(0, 0, 0, 0.1));
  animation-delay: -4s;
}
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
/* soft white blur that melts the phone into the strip */
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -30%;
  right: -30%;
  top: 62%;
  height: 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 32%);
  pointer-events: none;
}

/* feature strip */
.feature-strip {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  width: min(1291px, 100% - 32px);
  margin: calc(-0.1343 * min(1154px, 100vw - 32px)) auto 0;
  padding: 24px 36px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}
.feature-strip li {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 66px;
}
.feature-strip li:first-child {
  justify-content: flex-start;
}
.feature-strip li:last-child {
  justify-content: flex-end;
}
.feature-strip li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 66px;
  background: rgba(155, 161, 192, 0.3);
}
.fs-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ecf3fe;
}
.fs-icon img {
  width: 28px;
  height: 28px;
}
.feature-strip li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 107px;
}
.feature-strip strong {
  font: 700 16px/24px var(--font-body);
  color: var(--ink);
  white-space: nowrap;
}
.feature-strip small {
  font: 500 14px/20px var(--font-body);
  color: var(--muted);
  white-space: nowrap;
}

/* =========================================================
   SHOP CATEGORIES
   ========================================================= */
.categories {
  padding: 64px 0;
  overflow: hidden;
}
.categories .sec-head p {
  max-width: 670px;
}
.cat-rows {
  margin-top: 48px;
}
.cat-row {
  overflow: hidden;
  margin-left: -4.5px;
}
.cat-row--reverse {
  margin-left: 1.5px;
}
.cat-track {
  display: flex;
  gap: 40.69px;
  width: max-content;
}
.cat-track li {
  flex: 0 0 103.65px;
  height: 159.79px;
}
.cat-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-row.is-animated .cat-track {
  animation: marquee var(--duration, 45s) linear infinite;
}
.cat-row--reverse.is-animated .cat-track {
  animation-direction: reverse;
}
.cat-row:hover .cat-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 20.345px));
  }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.stories {
  padding: 64px 0;
  background: rgba(233, 245, 253, 0.2);
  overflow: hidden;
}
.stories .sec-head p {
  max-width: 670px;
}
.story-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 48px;
  min-height: 474px;
}
.story {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 380px;
  border-radius: 25.6px;
  overflow: hidden;
  background: #222;
  color: #fff;
  transition: width 0.45s ease, height 0.45s ease, border-radius 0.45s ease;
}
.story[data-pos="prev"] {
  order: 0;
}
.story[data-pos="current"] {
  order: 1;
  width: 720px;
  height: 474px;
  border-radius: 32px;
}
.story[data-pos="next"] {
  order: 2;
}
.story[data-pos="hidden"] {
  display: none;
}
/* portrait reel thumbnail: keep the face in frame in the wide centre card */
.story-img--4 {
  object-position: 50% 45%;
}
.story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-img--1 {
  object-position: 50% 0;
}
.story-img--3 {
  object-position: 22% 35%;
}
/* side-card crops, as framed in Figma (photo zoomed inside the 300×380 card) */
.story:not([data-pos="current"]) .story-img--1 {
  inset: auto;
  left: -8.53%;
  top: -13.21%;
  width: 117%;
  height: auto;
  max-width: none;
}
.story:not([data-pos="current"]) .story-img--3 {
  inset: auto;
  left: -16.5%;
  top: -33.79%;
  width: 175.33%;
  height: auto;
  max-width: none;
}
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.62) 100%);
}
.story-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.story-shade--1 {
  background: linear-gradient(-0.85deg, rgba(0, 0, 0, 0.5) 22.39%, rgba(0, 0, 0, 0) 94.09%, rgba(0, 0, 0, 0.5) 103.66%);
}
.story-shade--2 {
  left: -52px;
  right: -31px;
  background: linear-gradient(90.74deg, rgba(0, 0, 0, 0.5) 0.51%, rgba(0, 0, 0, 0) 51.67%, rgba(0, 0, 0, 0.5) 99.42%);
}
.story-shade--3 {
  background: linear-gradient(179.1deg, rgba(0, 0, 0, 0.5) 1.82%, rgba(0, 0, 0, 0) 18.57%, rgba(0, 0, 0, 0.5) 78%);
}
.story-tags {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 25.4px;
  right: 12.6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story-tag,
.story-time {
  background: rgba(5, 5, 5, 0.5);
  font: 600 11.2px/22.4px var(--font-ui);
  text-transform: uppercase;
  white-space: nowrap;
}
.story-tag {
  padding: 2px 12px;
  border-radius: 40px;
}
.story-time {
  padding: 3.2px 12.8px;
  border-radius: 8px;
}
.story-tag,
.story-time {
  color: rgba(255, 255, 255, 0.8);
}
.story-play {
  position: absolute;
  z-index: 2;
  left: calc(50% + 1.39px);
  top: calc(50% - 31.6px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.story-play img {
  width: 38.4px;
  height: 38.4px;
}
.story-body {
  position: absolute;
  z-index: 2;
  left: 25.4px;
  bottom: 32px;
  width: 240.8px;
  display: flex;
  flex-direction: column;
}
.story-quote {
  margin-bottom: 12.8px;
  font: 700 20px/28px var(--font-ui);
  text-transform: capitalize;
  color: #fff;
}
.story-name {
  font: 500 16px/22.4px var(--font-ui);
  letter-spacing: -0.18px;
  color: rgba(255, 255, 255, 0.92);
}
.story-loc {
  display: flex;
  align-items: center;
  gap: 3.2px;
  opacity: 0.8;
  font: 500 14px/19.2px var(--font-ui);
  letter-spacing: -0.18px;
}
.story-loc img {
  width: 16px;
  height: 16px;
}
/* centre (featured) card sizing */
.story[data-pos="current"] .story-tags {
  top: 28px;
  left: 32px;
  right: 27px;
}
.story[data-pos="current"] .story-tag,
.story[data-pos="current"] .story-time {
  font-size: 14px;
  line-height: 28px;
  padding: 4px 16px;
}
.story[data-pos="current"] .story-tag {
  border-radius: 50px;
}
.story[data-pos="current"] .story-time {
  border-radius: 10px;
}
.story[data-pos="current"] .story-play {
  left: 50%;
  top: calc(50% - 8px);
  width: 80px;
  height: 80px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.story[data-pos="current"] .story-play img {
  width: 48px;
  height: 48px;
}
.story[data-pos="current"] .story-body {
  left: 32px;
  right: 32px;
  bottom: 27px;
  width: auto;
}
.story[data-pos="current"] .story-quote {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 42px;
}
.story[data-pos="current"] .story-name {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.225px;
}
.story[data-pos="current"] .story-loc {
  gap: 4px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.225px;
}

.story-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(783px, 100%);
  height: 84px;
  margin: 24px auto 0;
  padding: 20px 64px;
}
.story-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 1000px;
  font: 500 15px/21.75px var(--font-ui);
  letter-spacing: -0.3px;
  color: #787a7d;
  transition: color 0.15s;
}
.story-btn:hover {
  color: var(--ink);
}
.story-btn-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}
.story-btn-icon img {
  width: 10.8px;
  height: 9.4px;
}
.story-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 12px;
}
.story-dots button {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 100px;
  transition: width 0.3s ease;
}
.story-dots button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.15);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
.story-dots button[aria-selected="true"] {
  width: 40px;
}
.story-dots button[aria-selected="true"]::before {
  width: 40px;
  height: 8px;
  background: var(--blue);
}

/* =========================================================
   HOMEGROWN BRANDS
   ========================================================= */
/* ---------- in the news ---------- */
.news {
  padding: 64px 24px;
  background: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 40px auto 0;
}
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(233, 245, 253, 0.45);
  border: 1px solid var(--tint);
}
.news-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: #222;
  overflow: hidden;
}
.news-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.news-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
}
.news-play img {
  width: 32px;
  height: 32px;
}
.news-media:hover .news-play,
.news-media:focus-visible .news-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.news-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 22px 22px;
  min-width: 0;
}
.news-source {
  font: 600 13px/18px var(--font-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.news-headline {
  font: 700 20px/28px var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}
.news-summary {
  font: 400 15px/24px var(--font-body);
  color: var(--text);
}
.news-watch {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--grad-blue);
  color: #fff;
  font: 600 15px/22px var(--font-ui);
}
.news-credit {
  font: 400 12px/16px var(--font-ui);
  color: var(--muted);
}

.brands {
  padding: 64px 24px;
  background: #fff;
  overflow: hidden;
}
.brands-card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1376px;
  min-height: 752px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(227, 239, 254, 0.6);
  border: 4px solid #fff;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}
.brands-glow {
  position: absolute;
  left: 374.5px;
  top: -111.8px;
  width: 1698px;
  height: 1567px;
  max-width: none;
  pointer-events: none;
}
.brands-warm {
  position: absolute;
  left: -75px;
  top: 379px;
  width: 987px;
  height: 373px;
  background: #fdf9f5;
  filter: blur(100px);
  pointer-events: none;
}
.brands-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brands-intro h2 {
  font-size: 54px;
  white-space: nowrap;
}
.brands-intro h2 .accent {
  display: block;
}
.brands-intro > p {
  margin-top: 8px;
  max-width: 426px;
  font: 400 18px/28px var(--font-body);
}
.brands-intro .btn-pill {
  margin-top: 24px;
}
.brands-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.brands-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  border-right: 1px solid rgba(151, 152, 157, 0.3);
  font: 600 18px/32px var(--font-body);
  color: var(--ink);
}
.brands-points img {
  width: 48px;
  height: 48px;
}
.brands-points li:nth-child(1) span {
  width: 115px;
}
.brands-points li:nth-child(2) span {
  width: 100px;
  white-space: nowrap;
}
.brands-points li:nth-child(3) span {
  width: 214px;
}

.brands-visual {
  position: absolute;
  z-index: 1;
  left: calc(21.345% - 0px);
  top: 19.21px;
  width: 78%;
  aspect-ratio: 1067 / 447;
  container-type: inline-size;
  pointer-events: none;
}
.brands-food {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brands-note {
  position: absolute;
  transform: translateX(-50%);
  font: 400 clamp(11px, 1.875cqw, 20px) / 1.4 "Kalam", cursive;
  letter-spacing: 0.1em;
  color: #2690d5;
  text-align: center;
  white-space: nowrap;
}
.brands-note--achar {
  left: 44.9%;
  top: 8.23%;
}
.brands-note--sweets {
  left: 62.28%;
  top: 90.38%;
}
.brands-note--dairy {
  left: 80.93%;
  top: 4.25%;
  width: 12.4%;
  white-space: normal;
}
.brands-arrow {
  position: absolute;
  height: auto;
}
.brands-arrow--achar {
  left: 42.55%;
  top: 21.25%;
  width: 5.58%;
}
.brands-arrow--dairy {
  left: 86.32%;
  top: 5.37%;
  width: 5.76%;
}
.brands-arrow--sweets {
  left: 68.32%;
  top: 87.25%;
  width: 4.17%;
}

.brand-tiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 349fr 350fr 348fr 225fr;
  gap: 16px;
  margin-top: auto;
  padding-top: 32px;
}
.brand-tile {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  background: #fff;
}
.brand-tile:not(.brand-tile--more) > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.brand-tile-shade {
  position: absolute;
  left: 48.4%;
  top: -33px;
  width: 293px;
  height: 267px;
  background: #000;
  filter: blur(100px);
}
.brand-tile-text {
  position: absolute;
  left: 49.7%;
  top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  filter: drop-shadow(0 4px 12.5px rgba(0, 0, 0, 0.15));
}
.brand-tile-text h3 {
  font: 600 24px/normal var(--font-ui);
  letter-spacing: -0.48px;
}
.brand-tile-text p {
  max-width: 171px;
  font: 400 14px/24px var(--font-body);
}
.brand-tile:nth-child(2) .brand-tile-text p {
  max-width: 160px;
}
.brand-tile:nth-child(3) .brand-tile-text p {
  max-width: 127px;
}
.brand-tile--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tint);
}
.brand-tile--more img {
  width: 36px;
  height: 36px;
}
.brand-tile--more p {
  width: 132px;
  text-align: center;
  font: 500 16px/normal var(--font-ui);
  letter-spacing: -0.32px;
  color: var(--ink);
  filter: drop-shadow(0 4px 12.5px rgba(0, 0, 0, 0.15));
}

/* =========================================================
   HOW MILKO WORKS
   ========================================================= */
.how {
  padding: 128px 72px 64px;
  background: #fff;
}
.steps {
  position: relative;
  max-width: 1296px;
  margin: 77px auto 0; /* header → first illustration (268 + 29 − 220) */
}
.steps::before {
  content: "";
  position: absolute;
  left: 38px;
  top: -29px;
  bottom: 13px;
  width: 4px;
  border-radius: 2px;
  background: #e7e7e7;
}
.step {
  --gap: 0px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: var(--gap);
}
.step:nth-child(2) {
  --gap: 186px;
}
.step:nth-child(3) {
  --gap: 167px;
}
.step:nth-child(4) {
  --gap: 163px;
}
.step.is-done::before {
  content: "";
  position: absolute;
  left: 36px;
  top: calc(-1 * var(--gap));
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #188fdd, #1a97e9);
}
.step:first-child.is-done::before {
  top: -29px;
  border-radius: 4px 4px 0 0;
}
.step.is-current::before {
  bottom: -47px;
  border-radius: 0 0 4px 4px;
}
.step.is-current::after {
  content: "";
  position: absolute;
  left: 24px;
  top: calc(100% + 26px);
  width: 32.26px;
  height: 32.26px;
  border-radius: 50%;
  background: linear-gradient(180deg, #188fdd, #1a97e9);
}
.step-num {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  place-items: center;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin-left: 2px;
  font: 700 32px/42px var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
}
.step-num::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: url("assets/home/step-dot-idle.svg") center / 100% 100% no-repeat;
}
.step-num span {
  position: relative;
  color: var(--ink);
}
.step.is-done .step-num {
  background: url("assets/home/step-ring.svg") center / 100% 100% no-repeat;
}
.step.is-done .step-num::before {
  background-image: url("assets/home/step-dot-active.svg");
}
.step.is-done .step-num span {
  color: #fff;
}
.step-text {
  flex: 0 0 410px;
  margin-right: auto;
}
/* number circle sits top-aligned with the text block */
.step {
  align-items: center;
}
.step > .step-num {
  align-self: center;
  margin-bottom: calc(310px - 80px);
}
.step-text h3 {
  font: 700 32px/42px var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  color: var(--ink);
  text-transform: capitalize;
  white-space: nowrap;
}
.step-text > p {
  margin-top: 8px;
  max-width: 404px;
  font: 400 18px/28px var(--font-body);
}
.step-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}
.step-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 18px/28px var(--font-body);
}
.step-ic {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--tint);
}
.step-art {
  position: relative;
  z-index: 1;
  flex: 0 1 652px;
  width: 652px;
  min-width: 0;
  height: auto;
  border-radius: 20px;
}
.how-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(529px, 100%);
  height: 84px;
  margin: 88px auto 0;
  border-radius: 50px;
  background: var(--grad-blue);
  color: #f5f5f2;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.how-cta strong {
  font: 600 20px/1.5 var(--font-ui);
}
.how-cta span {
  font: 400 16px/1.5 var(--font-ui);
}

/* =========================================================
   LOCAL SELLERS
   ========================================================= */
.sellers {
  position: relative;
  max-width: var(--page);
  min-height: 817px;
  margin: 0 auto;
  background: #fff;
}
.sellers-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 127px 0 64px 63px;
  max-width: 680px;
}
.sellers-copy h2 {
  white-space: nowrap;
}
.sellers-copy > p {
  margin-top: 16px;
  max-width: 426px;
  font: 400 18px/28px var(--font-body);
}
.seller-stats {
  display: flex;
  gap: 16px;
  margin-top: 37px;
  padding: 12px 0;
}
.seller-stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 164.23px;
  padding: 0 16px;
  border-right: 1px solid rgba(151, 152, 157, 0.3);
}
.seller-stats li:first-child {
  width: 128px;
  padding-left: 0;
}
.seller-stats li:last-child {
  border-right: 0;
}
.seller-stats img {
  width: 48px;
  height: 48px;
}
.seller-stats strong {
  font: 700 24px/32px var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  color: var(--ink);
}
.seller-stats span {
  margin-top: -4px;
  font: 600 14px/16px var(--font-body);
  letter-spacing: 1.5px;
  color: #828284;
  text-transform: capitalize;
  white-space: nowrap;
}
.sellers-copy .btn-pill {
  margin-top: 37px;
}
.sellers-map {
  position: absolute;
  z-index: 1;
  left: 20.83%;
  top: 84.21px;
  width: 73.4%;
  aspect-ratio: 1057 / 721;
}
.sellers-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sellers-map::before,
.sellers-map::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -40%;
  height: 22%;
  pointer-events: none;
}
.sellers-map::before {
  top: -8%;
  background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0));
}
.sellers-map::after {
  bottom: -8%;
  background: linear-gradient(0deg, #fff 35%, rgba(255, 255, 255, 0));
}
.sellers-serving {
  position: absolute;
  z-index: 2;
  left: 79.28%;
  top: 13.04%;
  width: 24.12%;
  height: auto;
}

/* =========================================================
   FEATURES (bento)
   ========================================================= */
.features {
  padding: 64px 100px;
  background: #fbfdff;
}
.bento {
  display: grid;
  max-width: 1240px;
  margin: 48px auto 0;
  grid-template-columns: 560fr 24fr 75fr 24fr 245fr 24fr 288fr;
  grid-template-rows: 276px 24px 280px 38px 322px;
}
.fcard {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  background: #fff;
}
.fcard--network {
  grid-column: 1;
  grid-row: 1 / 4;
}
.fcard--flexible {
  grid-column: 3 / 6;
  grid-row: 1;
}
.fcard--dairy {
  grid-column: 7;
  grid-row: 1;
  background: linear-gradient(172.17deg, #fff 27.19%, rgba(255, 255, 255, 0) 70.8%), #f4f9ff;
}
.fcard--manage {
  grid-column: 3 / 8;
  grid-row: 3;
}
.fcard--india {
  grid-column: 1 / 4;
  grid-row: 5;
}
.fcard--track {
  grid-column: 5 / 8;
  grid-row: 5;
  background: #e9f2fe;
}
.fcard > img,
.fcard-art-wrap,
.fcard-veil,
.fcard-wash {
  position: absolute;
  max-width: none;
}
.fcard-text {
  position: absolute;
  z-index: 3;
  left: 21px;
  top: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fcard-text h3 {
  width: 233px;
  font: 600 32px/normal var(--font-ui);
  letter-spacing: -0.64px;
  color: var(--ink-2);
}
.fcard-text p {
  width: 224px;
  font: 400 16px/24px var(--font-body);
  color: #333;
}
.fcard-glow {
  width: 1187px;
  height: 1187px;
  pointer-events: none;
}

/* network */
.fcard--network {
  background: #f7fbfe;
}
.fcard-ghost {
  left: 0;
  width: 100%;
  height: auto;
}
.fcard-ghost--1 {
  top: 254.2px;
}
.fcard-ghost--2 {
  top: 419.2px;
}
.fcard-veil {
  z-index: 1;
  inset: 0;
  background: linear-gradient(173.62deg, #fff 41.81%, rgba(255, 255, 255, 0) 89.82%);
}
.fcard--network .fcard-text {
  left: 33.5px;
  top: 29.2px;
  width: min(464px, 100% - 40px);
  gap: 8px;
}
.fcard--network .fcard-text h3 {
  width: auto;
  font-size: 48px;
  letter-spacing: -0.96px;
  color: #111;
}
.fcard--network .fcard-text p {
  width: auto;
  max-width: 464px;
  font-size: 20px;
  line-height: 36px;
}
.fcard-phone {
  z-index: 2;
  width: 256px;
  height: auto;
  border-radius: 42px 42px 0 0;
}
.fcard-phone--network {
  left: 152px;
  bottom: 0;
}

/* flexible */
.fcard-art {
  height: auto;
}
.fcard--flexible .fcard-art {
  left: 21.5px;
  top: 74.2px;
  width: 442px;
}
.fcard--flexible .fcard-veil {
  inset: -1px -6px -4px -1px;
  background: linear-gradient(175.15deg, #fff 41.81%, rgba(255, 255, 255, 0) 89.82%);
}
.fcard--flexible .fcard-text {
  left: 21px;
  top: 25px;
}
.fcard--flexible .fcard-text h3 {
  width: auto;
  white-space: nowrap;
}
.fcard--flexible .fcard-text p {
  width: 260px;
}

/* dairy */
.fcard--dairy .fcard-glow {
  left: calc(-3px - 400px);
  top: calc(268px - 400px);
}
.fcard--dairy .fcard-art {
  left: 58.5px;
  top: 157.2px;
  width: 242px;
}
.fcard--dairy .fcard-text {
  left: 20.5px;
  top: 23.2px;
}

/* manage */
.fcard--manage .fcard-art {
  left: -27.5px;
  top: -57.8px;
  width: 688px;
}
.fcard--manage .fcard-glow--a {
  left: calc(-62.5px - 400px);
  top: calc(84.2px - 400px);
}
.fcard--manage .fcard-glow--b {
  left: calc(-3px - 400px);
  top: calc(268px - 400px);
}
.fcard--manage .fcard-text {
  left: 14.5px;
  top: 84.2px;
}

/* india */
.fcard--india .fcard-art-wrap {
  left: -0.5px;
  top: -49.8px;
  width: 682px;
  height: 470px;
  overflow: hidden;
}
.fcard--india .fcard-art {
  position: absolute;
  left: -3.45%;
  top: -0.04%;
  width: 103.45%;
  height: 100.08%;
  object-fit: cover;
}
.fcard--india .fcard-art-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112.37deg, #fff 10.35%, rgba(255, 255, 255, 0) 58.03%);
}

/* track */
.fcard--track .fcard-art-wrap {
  left: -1px;
  top: -38px;
  width: 342px;
  height: 420px;
  overflow: hidden;
  opacity: 0.4;
}
.fcard--track .fcard-art {
  position: absolute;
  left: 0;
  top: 3.92%;
  width: 218.86%;
  height: 107.05%;
  object-fit: cover;
}
.fcard--track .fcard-art-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105.72deg, #fff 26.43%, rgba(255, 255, 255, 0) 54.8%);
}
.fcard-wash {
  left: -17px;
  top: -12px;
  width: 408px;
  height: 333px;
  background: linear-gradient(131.88deg, #fff 39.32%, rgba(255, 255, 255, 0) 73.2%);
}
.fcard--track .fcard-glow {
  left: calc(-61px - 400px);
  top: calc(67px - 400px);
}
.fcard-phone--track {
  left: 279px;
  top: 10px;
}

/* =========================================================
   CTA CARD
   ========================================================= */
.cta {
  padding: 71.2px 96px 70.8px;
}
.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1247px;
  height: 314px;
  margin: 0 auto;
  padding: 31px 38px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(101.07deg, #1d73fd 0.27%, #2880fd 38.7%, #4da9fe 97.83%);
  color: #f3f3f3;
}
.cta-copy {
  position: relative;
  flex: 0 0 464px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
}
.cta-copy::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 43.9px;
  width: 1px;
  height: 173.2px;
  background: rgba(255, 255, 255, 0.5);
}
.cta-eyebrow {
  font: 400 18px/24px var(--font-body);
  letter-spacing: 1.44px;
}
.cta-copy h2 {
  width: 366px;
  font: 600 42px/normal var(--font-ui);
  letter-spacing: -0.84px;
}
.cta-copy > p:last-child {
  font: 400 18px/28px var(--font-body);
  padding-right: 32px;
}
.cta-get {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  align-self: flex-start;
  margin-top: 26px;
}
.cta-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 117px;
}
.cta-qr img {
  width: 117px;
  height: 120px;
}
.cta-qr figcaption {
  font: 400 18px/28px var(--font-body);
  text-align: center;
  color: #f3f3f3;
}
.cta-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-art img {
  position: absolute;
  max-width: none;
  height: auto;
}
.cta-products {
  left: 809px;
  top: 60px;
  width: 445px;
}
.cta-phone {
  left: 928px;
  top: 60px;
  width: 209.9px;
  border-radius: 34.44px 34.44px 0 0;
}
.cta-pin {
  left: 881px;
  top: 36px;
  width: 49.6px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  max-width: var(--page);
  height: 664px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}
.footer-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 44px 0 46px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand > img {
  width: 168px;
  height: 72px;
}
.footer-brand > p {
  width: 279px;
  font: 500 14px/1.8 var(--font-body);
  color: rgba(26, 29, 46, 0.6);
  opacity: 0.7;
}
.footer-socials {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}
.footer-socials a {
  position: relative;
  width: 28px;
  height: 28px;
  transition: transform 0.15s;
}
.footer-socials a:hover {
  transform: translateY(-2px);
}
.footer-socials a img {
  position: absolute;
  left: -15px;
  top: -11px;
  width: 58px;
  height: 58px;
  max-width: none;
}
.footer-socials .footer-social-yt {
  background: #fff;
  border: 0.5px solid rgba(156, 163, 175, 0.3);
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}
.footer-socials .footer-social-yt img {
  left: 5.22px;
  top: 5.5px;
  width: 16px;
  height: 16px;
}
.footer-links {
  flex: 0 1 994px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-col h4 {
  font: 700 14px/1.5 var(--font-body);
  letter-spacing: 2.24px;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.footer-col ul {
  margin-top: 20px;
}
.footer-col li a,
.footer-col li span {
  font: 500 14px/2.5 var(--font-body);
  color: rgba(26, 29, 46, 0.6);
  white-space: nowrap;
  transition: color 0.15s;
}
.footer-col li a:hover {
  color: var(--blue);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact li a,
.footer-contact li span {
  line-height: 1.4;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-contact .ic-wa {
  width: 16px;
  height: 16px;
  margin: 2px;
}
.footer-col--app {
  padding-left: 68px;
  border-left: 1px solid rgba(156, 163, 175, 0.3);
  height: 190px;
}
.footer-col--app .store-badges {
  margin-top: 20px;
}
.footer-watermark {
  position: absolute;
  left: 9px;
  top: 241.55px;
  width: 1413px;
  height: 422px;
  max-width: none;
  object-fit: fill;
  opacity: 0.05;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  left: -3px;
  right: 0;
  top: 527.55px;
  height: 171px;
  background: #fff;
  filter: blur(75px);
  pointer-events: none;
}
.footer-bottom {
  position: absolute;
  z-index: 2;
  left: 42.81px;
  right: 52.79px;
  top: 597.66px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(156, 163, 175, 0.15);
  font: 500 12px/1.8 var(--font-body);
  color: var(--muted);
}
.footer-bottom a:hover {
  color: var(--blue);
}

/* ---------- coming-soon toast (shared component, see js/components.js) ---------- */
.cs-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  max-width: calc(100vw - 32px);
  padding: 16px 22px 16px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cs-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cs-toast-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 10px;
  background: #111;
}
.cs-toast-body strong {
  display: block;
  margin-bottom: 2px;
  font: 700 14px/1.3 var(--font-ui);
  color: #111827;
}
.cs-toast-body span {
  font: 400 12.5px/1.4 var(--font-ui);
  color: var(--muted);
}
.cs-toast-close {
  margin-left: auto;
  padding: 4px;
  color: #9ca3af;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .nav {
    padding: 12px 32px 0;
  }
  .nav-links {
    gap: 32px;
  }
  .features {
    padding: 64px 32px;
  }
  .cta {
    padding: 64px 32px;
  }
  .footer-row {
    padding: 64px 32px 0;
  }
  .footer-col--app {
    padding-left: 32px;
  }
}

@media (max-width: 1180px) {
  /* brands: visual drops into the flow */
  .brands-card {
    min-height: 0;
  }
  .brands-visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 24px;
  }
  .brand-tiles {
    padding-top: 40px;
  }

  /* sellers: map under the copy */
  .sellers {
    min-height: 0;
    overflow: hidden;
  }
  .sellers-copy {
    max-width: none;
    padding: 64px 32px 0;
  }
  .sellers-map {
    position: relative;
    left: auto;
    top: auto;
    width: min(100% - 32px, 1057px);
    margin: 8px auto 32px;
  }
  .sellers-serving {
    left: auto;
    right: 0;
  }

  /* footer: wrap columns */
  .site-footer {
    height: auto;
    padding-bottom: calc(29.87% + 16px); /* room for the 1413:422 watermark */
  }
  .footer-row {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 64px;
    row-gap: 40px;
  }
  .footer-col--app {
    padding-left: 0;
    border-left: 0;
    height: auto;
  }
  .footer-watermark {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1413 / 422;
  }
  .site-footer::after {
    display: none;
  }
  .footer-bottom {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin: 64px 32px 0;
  }
}

@media (max-width: 1100px) {
  /* how it works: illustration under the text */
  .how {
    padding: 96px 32px 64px;
  }
  .steps {
    margin-top: 64px;
  }
  .steps::before {
    top: 0;
  }
  .step {
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 48px;
    row-gap: 32px;
    --gap: 96px !important;
  }
  .step:first-child {
    --gap: 0px !important;
  }
  .step > .step-num {
    margin-bottom: 0;
    align-self: flex-start;
  }
  .step:first-child.is-done::before {
    top: 0;
  }
  .step-text {
    flex: 1 1 0;
    margin-right: 0;
  }
  .step-art {
    flex: 0 0 auto;
    width: calc(100% - 130px);
    margin-left: 130px;
  }

  /* features: single column of design-width cards */
  .bento {
    max-width: 680px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 24px;
  }
  .fcard {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .fcard--network {
    height: 584px;
  }
  .fcard--flexible,
  .fcard--dairy {
    height: 276px;
  }
  .fcard--manage {
    height: 280px;
  }
  .fcard--india,
  .fcard--track {
    height: 322px;
  }
  .fcard-phone--network {
    left: 50%;
    transform: translateX(-50%);
  }
  .fcard--dairy .fcard-art {
    left: auto;
    right: 20px;
  }
  .fcard--track .fcard-phone--track {
    left: auto;
    right: 24px;
  }

  /* CTA card stacks */
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 32px 32px 0;
  }
  .cta-copy {
    flex: 0 0 auto;
    max-width: 560px;
  }
  .cta-copy::after {
    display: none;
  }
  .cta-get {
    margin-top: 0;
  }
  .cta-art {
    position: relative;
    inset: auto;
    width: 445px;
    max-width: 100%;
    height: 260px;
    margin: 8px auto 0;
  }
  .cta-products {
    left: 0;
    top: 24px;
  }
  .cta-phone {
    left: 119px;
    top: 24px;
  }
  .cta-pin {
    left: 72px;
    top: 0;
  }
}

@media (max-width: 1024px) {
  .hero-title,
  .sec-head h2,
  .sellers-copy h2 {
    font-size: 46px;
    line-height: 56px;
  }
  .brands-intro h2 {
    font-size: 44px;
    line-height: 56px;
  }
  .feature-strip {
    flex-wrap: wrap;
    row-gap: 20px;
    padding: 20px 24px;
  }
  .feature-strip li {
    flex: 1 1 33.333%;
    justify-content: flex-start !important;
    min-height: 56px;
    padding-left: 20px;
  }
  .feature-strip li:nth-child(3n + 1) {
    padding-left: 0;
  }
  .feature-strip li:nth-child(3n + 1)::before {
    display: none;
  }
  .feature-strip li + li::before {
    height: 56px;
  }
  .brand-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .brand-tile--more {
    height: 200px;
  }
}

@media (max-width: 900px) {
  .nav {
    padding: 12px 16px 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid #f1f5f9;
  }
  .btn-download {
    justify-content: center;
    margin-top: 8px;
  }

  /* testimonials: one card at a time */
  .story-carousel {
    min-height: 0;
    padding: 0 16px;
  }
  .story[data-pos="prev"],
  .story[data-pos="next"] {
    display: none;
  }
  .story[data-pos="current"] {
    width: min(720px, 100%);
    height: auto;
    aspect-ratio: 720 / 474;
  }
  .story-controls {
    padding: 20px 16px;
  }
}

@media (max-width: 640px) {
  .hero-bg {
    width: 1100px;
    height: 820px;
  }
  .hero-copy {
    margin-top: 32px;
  }
  .hero-eyebrow {
    font-size: 13px;
    line-height: 22px;
  }
  .hero-title {
    font-size: 34px;
    line-height: 42px;
    white-space: normal;
  }
  .hero-lead {
    font-size: 16px;
    line-height: 26px;
  }
  .hero-copy .store-badges {
    gap: 12px;
  }
  .store-badge {
    width: 148px;
    height: 50px;
    gap: 8px;
  }
  .store-badge > img {
    height: 28px;
  }
  .store-badge-text small {
    font-size: 11px;
    line-height: 11px;
  }
  .store-badge-text strong {
    font-size: 21px;
  }
  .store-badge-text--play small {
    font-size: 12px;
  }
  .store-badge-text--play img {
    width: 88px;
    height: 18px;
  }
  /* visual: phone only, full width */
  .hero-visual {
    --vw: min(420px, 100vw - 16px);
    aspect-ratio: 759 / 727;
    transform: none;
    margin-top: 20px;
  }
  .hero-phone {
    left: 0;
    width: 100%;
  }
  .hero-card--popular {
    left: auto;
    right: 0;
    top: 2%;
    width: 40%;
  }
  .hero-card--sellers {
    left: -2%;
    top: 30%;
    width: 44%;
  }
  .hero-card--delivery {
    display: none;
  }
  .feature-strip {
    margin-top: calc(-0.3 * min(420px, 100vw - 16px));
    padding: 16px;
    row-gap: 16px;
  }
  .feature-strip li {
    flex: 1 1 50%;
    padding-left: 12px !important;
    min-height: 48px;
  }
  .feature-strip li:nth-child(odd) {
    padding-left: 0 !important;
  }
  .feature-strip li::before {
    display: none !important;
  }
  .feature-strip li > span:last-child {
    min-width: 0;
  }
  .fs-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .fs-icon img {
    width: 22px;
    height: 22px;
  }
  .feature-strip strong {
    font-size: 14px;
    line-height: 20px;
  }
  .feature-strip small {
    font-size: 12px;
    line-height: 16px;
  }

  .sec-head h2,
  .sellers-copy h2,
  .brands-intro h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .sec-head h2 .accent {
    white-space: nowrap;
  }
  .sec-head p,
  .brands-intro > p,
  .sellers-copy > p {
    font-size: 16px;
    line-height: 26px;
  }
  .pill {
    font-size: 13px;
    line-height: 24px;
    padding: 4px 12px;
    gap: 8px;
  }
  .pill > img {
    width: 20px;
    height: 20px;
  }

  .categories {
    padding: 48px 0;
  }
  .cat-rows {
    margin-top: 32px;
  }

  .stories {
    padding: 48px 0;
  }
  .story-carousel {
    margin-top: 32px;
  }
  .story[data-pos="current"] {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }
  .story[data-pos="current"] .story-tags {
    top: 18px;
    left: 18px;
    right: 18px;
  }
  .story[data-pos="current"] .story-tag,
  .story[data-pos="current"] .story-time {
    font-size: 11.2px;
    line-height: 22.4px;
    padding: 2px 12px;
  }
  .story[data-pos="current"] .story-play {
    width: 64px;
    height: 64px;
  }
  .story[data-pos="current"] .story-play img {
    width: 38px;
    height: 38px;
  }
  .story[data-pos="current"] .story-body {
    left: 20px;
    right: 20px;
    bottom: 22px;
    width: auto;
  }
  .story[data-pos="current"] .story-quote {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 12px;
  }
  .story[data-pos="current"] .story-name {
    font-size: 16px;
    line-height: 22px;
  }
  .story[data-pos="current"] .story-loc {
    font-size: 14px;
    line-height: 19px;
  }
  .story-btn {
    padding: 6px 4px;
  }

  .brands {
    padding: 48px 16px;
  }
  .brands-card {
    padding: 20px 16px 16px;
  }
  .brands-intro h2 {
    white-space: normal;
  }
  .btn-pill {
    height: 60px;
    font-size: 17px;
    padding: 0 22px;
  }
  .btn-pill--wide {
    width: 100%;
  }
  .brands-intro .btn-pill {
    align-self: stretch;
  }
  .brands-points {
    gap: 14px;
  }
  .brands-points li {
    border-right: 0;
    padding-right: 0;
    font-size: 16px;
    line-height: 24px;
    gap: 12px;
  }
  .brands-points li span {
    width: auto !important;
    white-space: normal !important;
  }
  .brands-points br {
    display: none;
  }
  .brands-points img {
    width: 40px;
    height: 40px;
  }
  .brands-note {
    font-size: clamp(9px, 2.6cqw, 14px);
    letter-spacing: 0.05em;
  }
  .brand-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 28px;
  }
  .brand-tile--more {
    height: 120px;
  }

  .how {
    padding: 64px 16px 48px;
  }
  .steps {
    margin-top: 40px;
  }
  .steps::before {
    left: 26px;
  }
  .step {
    column-gap: 16px;
    row-gap: 20px;
    --gap: 56px !important;
  }
  .step:first-child {
    --gap: 0px !important;
  }
  .step.is-done::before {
    left: 24px;
  }
  .step.is-current::after {
    left: 12px;
  }
  .step-num {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    margin-left: 0;
    font-size: 22px;
    line-height: 30px;
  }
  .step-num::before {
    inset: 6px;
  }
  .step-text h3 {
    font-size: 24px;
    line-height: 32px;
    white-space: normal;
  }
  .step-text > p,
  .step-points li {
    font-size: 16px;
    line-height: 24px;
  }
  .step-points {
    gap: 16px;
    margin-top: 20px;
  }
  .step-ic {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .step-ic img {
    transform: scale(0.85);
  }
  .step-art {
    width: calc(100% - 72px);
    margin-left: 72px;
    border-radius: 16px;
  }
  .how-cta {
    height: 76px;
    margin-top: 40px;
  }
  .how-cta strong {
    font-size: 18px;
  }

  .sellers-copy {
    padding: 48px 16px 0;
  }
  .sellers-copy h2 {
    white-space: normal;
  }
  .seller-stats {
    width: 100%;
    gap: 0;
    margin-top: 28px;
  }
  .seller-stats li,
  .seller-stats li:first-child {
    flex: 1 1 0;
    width: auto;
    padding: 0 10px;
  }
  .seller-stats li:first-child {
    padding-left: 0;
  }
  .seller-stats img {
    width: 40px;
    height: 40px;
  }
  .seller-stats strong {
    font-size: 20px;
    line-height: 28px;
  }
  .seller-stats span {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .sellers-copy .btn-pill {
    margin-top: 28px;
  }
  .sellers-map {
    width: 100%;
    margin: 16px 0 24px;
  }
  .sellers-serving {
    width: 34%;
    right: 2%;
    top: 4%;
  }

  .features {
    padding: 48px 16px;
  }
  .bento {
    margin-top: 32px;
    gap: 16px;
  }
  .fcard-text h3 {
    font-size: 28px;
  }
  .fcard--network {
    height: 540px;
  }
  .fcard--network .fcard-text {
    left: 20px;
    right: 20px;
    width: auto;
    top: 24px;
  }
  .fcard--network .fcard-text h3 {
    font-size: 30px;
    letter-spacing: -0.6px;
  }
  .fcard--network .fcard-text p {
    font-size: 16px;
    line-height: 26px;
  }
  .fcard-ghost--1 {
    top: 230px;
  }
  .fcard-ghost--2 {
    top: 380px;
  }
  .fcard--flexible .fcard-text h3 {
    white-space: normal;
  }
  .fcard--flexible .fcard-text p,
  .fcard-text p {
    width: auto;
    max-width: 280px;
  }
  .fcard--flexible {
    height: 300px;
  }
  .fcard--flexible .fcard-art {
    left: auto;
    right: -60px;
    top: 100px;
  }
  .fcard--manage {
    height: 470px;
  }
  .fcard--manage .fcard-text {
    left: 20px;
    top: 24px;
  }
  .fcard--manage .fcard-art {
    left: -290px;
    top: 110px;
  }
  .fcard--india,
  .fcard--track {
    height: auto;
    padding: 24px 20px 0;
  }
  .fcard--india .fcard-text,
  .fcard--track .fcard-text {
    position: relative;
    left: auto;
    top: auto;
  }
  .fcard--india {
    padding-bottom: 360px;
  }
  .fcard--india .fcard-art-wrap {
    left: auto;
    right: -44px;
    top: auto;
    bottom: -35px;
    width: 600px;
    height: 413px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px);
    mask-image: linear-gradient(180deg, transparent 0, #000 90px);
  }
  .fcard--track {
    padding-bottom: 330px;
  }
  .fcard--track .fcard-art-wrap {
    display: none;
  }
  .fcard--track .fcard-phone--track {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
  }

  .cta {
    padding: 48px 16px;
  }
  .cta-card {
    padding: 28px 20px 0;
  }
  .cta-eyebrow {
    font-size: 14px;
  }
  .cta-copy h2 {
    width: auto;
    font-size: 32px;
  }
  .cta-copy > p:last-child {
    font-size: 16px;
    line-height: 26px;
    padding-right: 0;
  }
  .cta-get {
    gap: 20px;
    margin-top: 8px;
  }
  .cta-qr {
    display: none;
  }
  .cta-get .store-badges {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .cta-art {
    transform: scale(0.8);
    transform-origin: 50% 100%;
    margin-top: -24px;
  }

  .footer-row {
    padding: 48px 16px 0;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  .footer-col--app {
    grid-column: 1 / -1;
  }
  .footer-col--app .store-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer-col:nth-child(3) {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    margin: 48px 16px 0;
  }
  .site-footer {
    padding-bottom: calc(29.87% + 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-card,
  .cat-row.is-animated .cat-track {
    animation: none;
  }
  .cat-row {
    overflow-x: auto;
  }
  .story,
  .story-dots button,
  .story-dots button::before {
    transition: none;
  }
}

/* =========================================================
   STORY VIDEO POPUP
   ========================================================= */
.story-play {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-play:hover,
.story-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.story-play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.reel-open-lock,
.reel-open-lock body {
  overflow: hidden;
}
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.reel-modal[hidden] {
  display: none;
}
.reel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.reel-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(400px, 100%);
  animation: reel-in 0.25s ease;
}
.reel-frame {
  width: 100%;
  height: min(720px, calc(100vh - 120px));
  height: min(720px, calc(100dvh - 120px));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.reel-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.reel-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.reel-open {
  font: 600 14px/1.4 var(--font-ui);
  color: #fff;
  opacity: 0.9;
}
.reel-open:hover {
  opacity: 1;
  text-decoration: underline;
}
@keyframes reel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@media (max-width: 640px) {
  .reel-dialog {
    margin-top: 40px;
  }
  .reel-frame {
    height: min(720px, calc(100vh - 150px));
    height: min(720px, calc(100dvh - 150px));
  }
  .reel-close {
    top: -50px;
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reel-dialog {
    animation: none;
  }
}
