/* MauKart landing (maukart.mu). Layout follows deliveroo.ae's home page;
   colours and type follow the app's light tokens (shared/constants/tokens.ts). */
:root {
  --primary: #5A2FE0;
  --primary-dark: #4A22C7;
  --primary-tint: #EFEAFE;
  --primary-ink-strong: #2C1B63;
  --background: #F4F4F8;
  --surface: #FFFFFF;
  --card-border: #E7E7EF;
  --ink: #14142B;
  --ink2: #6E7191;
  --ink3: #9A9CB0;
  --success: #04A96D;
  --radius: 8px;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-tint); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-pill { border-radius: 999px; padding: 0 28px; }

/* Hero */
.hero { position: relative; background: var(--primary); overflow: hidden; }
.topbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--wrap); margin: 0 auto; padding: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.topbar-actions { display: flex; gap: 8px; }
.topbar-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 8px 16px 64px; gap: 32px;
}
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.65) 70%, rgba(255,255,255,0));
}
.hero-art img { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.hero-copy h1 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; margin-bottom: 24px; letter-spacing: -0.025em; }

.address-card {
  background: var(--surface); border-radius: 12px; padding: 24px;
  box-shadow: 0 20px 40px -18px rgba(20,20,43,.45);
}
.address-card label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.address-row { display: flex; gap: 10px; }
.address-field {
  position: relative; flex: 1; min-width: 0; display: flex; align-items: center;
  border: 1px solid var(--card-border); border-radius: 999px; background: var(--background);
  color: var(--primary);
}
.address-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.address-field svg { position: absolute; left: 16px; pointer-events: none; }
.address-field input {
  width: 100%; min-height: 50px; padding: 0 16px 0 46px; border: 0; background: transparent;
  font: inherit; color: var(--ink); border-radius: 999px;
}
.address-field input:focus { outline: none; }
.address-field input::placeholder { color: var(--ink3); }
.address-row .btn { min-height: 52px; }
.saved-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; text-decoration: none; }
.saved-link:hover { text-decoration: underline; }

/* App band */
.band { border-bottom: 1px solid var(--card-border); }
.app-band-inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.app-band-art { width: 300px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% 50%; border-radius: 12px; background: #16172B; }
.app-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.app-band p { color: var(--ink2); margin-bottom: 18px; max-width: 520px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-width: 164px; padding: 8px 16px;
  border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; line-height: 1.1; opacity: .9;
}
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }
.text-link { font-weight: 600; }

/* Aisle marquee */
.aisles { padding: 40px 0; background: var(--background); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.aisle { width: 148px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.aisle img { width: 148px; height: 148px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--card-border); margin-bottom: 10px; object-fit: cover; transition: transform .2s ease; }
.aisle:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* Merch block */
.merch {
  position: relative; display: block; margin: 48px 0; border-radius: 12px; overflow: hidden;
  background: var(--primary); color: #fff; text-decoration: none; min-height: 320px;
}
.merch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.merch-copy { position: relative; max-width: 460px; padding: 44px 40px; }
.merch-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }
.merch h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.merch p { font-size: 17px; opacity: .95; margin-bottom: 16px; }
.merch small { font-size: 13px; opacity: .8; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-bottom: 64px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--background); }
.card img.cover-right { object-position: 78% 50%; background: #16172B; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--ink2); font-size: 15px; flex: 1; }
.card .btn { align-self: flex-start; margin-top: 6px; }

/* Footer */
.footer { background: var(--ink); color: #D9DAE6; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #D9DAE6; text-decoration: none; font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-lang label { display: block; color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.footer-lang select { font: inherit; font-size: 14px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid #3A3B55; background: #1F2038; color: #fff; min-width: 180px; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2A2B45; font-size: 13px; color: var(--ink3); }

/* Inner pages (about, FAQ, 404): the hero shrinks to the top bar. */
.hero-slim .topbar { padding-top: 14px; padding-bottom: 14px; }
.btn-outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-outline:hover { background: var(--primary-tint); }
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.prose p { margin-bottom: 14px; color: var(--ink); }
.prose .lead { font-size: 19px; color: var(--ink2); }
.prose .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--card-border); border-left: 3px solid var(--primary); border-radius: var(--radius); }
.promise span { color: var(--ink2); font-size: 15px; }
.faq { border-top: 1px solid var(--card-border); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--card-border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 500; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "2"; }
.faq details p { color: var(--ink2); padding-bottom: 18px; margin: 0; }
.faq-more { margin-top: 28px; }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone: stack the hero like Deliveroo's mobile page, copy first. */
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 32px; gap: 8px; }
  .hero-art { order: 2; max-width: 300px; margin: 0 auto; }
  .hero-copy h1 { margin-bottom: 18px; }
  .address-card { padding: 18px; }
  .address-row { flex-direction: column; }
  .address-row .btn { width: 100%; }
  .app-band-inner { grid-template-columns: 1fr; gap: 20px; }
  .app-band-art { width: 100%; }
  .aisle, .aisle img { width: 112px; }
  .aisle img { height: 112px; }
  .merch { min-height: 0; }
  .merch img { position: static; height: 180px; }
  .merch-copy { padding: 24px 20px 28px; }
  .cards { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

/* Editorial refresh: original photography, generous rhythm, and MauKart violet. */
:root { --ink2: #626078; --background: #f8f7fb; --wrap: 1240px; }
.home-hero { background: #f0eafa; }
.home-hero .topbar { max-width: none; padding: 20px max(32px, calc((100vw - 1208px) / 2)); background: #fff; border-bottom: 1px solid #eee9f5; }
.home-hero .brand { color: var(--primary); font-size: 27px; letter-spacing: -.05em; }
.home-hero .brand img { box-shadow: none; }
.home-hero .btn-ghost { color: var(--ink); background: #fff; border: 1px solid #ded9e8; }
.home-hero .btn-light { background: var(--primary); color: #fff; }
.topbar-actions { align-items: center; }
.nav-partner { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; margin-right: 20px; }
.nav-partner:hover { color: var(--primary); }
.home-hero .hero-grid { max-width: 1440px; padding: 0; gap: 0; min-height: 570px; grid-template-columns: 1fr 1fr; }
.home-hero .hero-art { height: 100%; min-height: 570px; order: 2; overflow: hidden; }
.home-hero .hero-art::before { display: none; }
.home-hero .hero-art img { width: 100%; height: 100%; max-width: none; position: absolute; object-fit: cover; aspect-ratio: auto; mix-blend-mode: normal; }
.home-hero .hero-copy { padding: 56px 40px 56px max(32px, calc((100vw - 1208px) / 2)); }
.eyebrow { display: inline-block; color: var(--primary); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.home-hero .hero-copy h1 { color: #281648; font-size: clamp(36px, 3.7vw, 56px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 28px; }
.address-card { border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px #36225b0a; border: 1px solid #ffffffb0; }
.address-card label { font-size: 15px; }
.address-field { background: #fff; border-color: #dcd6e8; border-radius: 8px; }
.address-field input { border-radius: 8px; font-size: 14px; padding-left: 40px; }
.address-field svg { left: 13px; }
.address-field input::placeholder { color: #777185; }
.address-row .btn { border-radius: 8px; padding: 0 22px; }
.saved-link { font-size: 13px; font-weight: 500; }
.aisles { padding: 48px 0; background: #fff; }
.section-heading { font-size: 26px; letter-spacing: -.03em; margin-bottom: 28px; }
.marquee-track { gap: 24px; }
.aisle { display: block; width: 128px; font-size: 13px; }
.aisle img { width: 128px; height: 120px; border-radius: 20px; box-shadow: none; background: #f8f6fa; }
.band { border: 0; background: #f8f7fb; }
.app-band-inner { grid-template-columns: 1fr 1fr; padding-top: 64px; padding-bottom: 64px; gap: 72px; }
.app-band-art { width: 100%; aspect-ratio: 3 / 2; border-radius: 20px; object-position: center; }
.app-band h2 { font-size: 38px; letter-spacing: -.04em; margin-bottom: 16px; }
.app-band p { line-height: 1.75; margin-bottom: 24px; }
.badge { border-radius: 8px; padding: 11px 16px; }
.text-link { display: inline-block; font-size: 14px; text-underline-offset: 4px; }
.merch { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; margin: 64px 0; border-radius: 20px; background: #351765; }
.merch img { position: static; grid-column: 2; grid-row: 1; height: 100%; object-fit: cover; }
.merch-copy { grid-column: 1; grid-row: 1; padding: 42px; max-width: none; align-self: center; }
.merch h2 { font-size: 36px; letter-spacing: -.035em; }
.merch p { font-size: 15px; line-height: 1.65; }
.merch small { display: block; font-size: 11px; }
.merch-tag { border: 1px dashed #b99cd9; border-radius: 5px; background: #ffffff10; padding: 6px 12px; }
.cards { gap: 24px; padding-bottom: 80px; scroll-margin-top: 24px; }
.card { border: 0; border-radius: 16px; background: #f8f7fb; }
.card img { aspect-ratio: 5 / 4; }
.card img.cover-right { object-position: center; }
.card-body { padding: 24px; gap: 14px; }
.card h3 { font-size: 21px; letter-spacing: -.03em; }
.card p { font-size: 14px; line-height: 1.7; }
.card .btn { background: transparent; color: var(--primary); padding: 0; min-height: 36px; font-size: 14px; }
.card .btn::after { content: " →"; margin-left: 10px; }
.card .btn:hover { text-decoration: underline; }
.footer { background: #20182f; padding-top: 56px; }
.footer-grid { gap: 40px; }
.footer a { line-height: 1.8; }
.footer-lang select { background: #30263f; border-color: #554760; }
.faq details[open] summary::after { content: "−"; }
@media (min-width: 1440px) { .home-hero .hero-copy { padding-left: 116px; } }
@media (max-width: 1050px) {
  .home-hero .hero-copy { padding: 40px 24px; }
  .home-hero .hero-grid { grid-template-columns: 55% 45%; }
  .home-hero .hero-art { min-height: 530px; }
  .app-band-inner { gap: 36px; }
}
@media (max-width: 720px) {
  .home-hero .topbar { padding: 16px 20px; }
  .home-hero .brand { font-size: 23px; }
  .nav-partner { display: none; }
  .home-hero .hero-grid { grid-template-columns: 1fr; }
  .home-hero .hero-copy { padding: 36px 20px 28px; }
  .home-hero .hero-copy h1 { font-size: 40px; max-width: 550px; }
  .home-hero .hero-art { width: 100%; max-width: none; min-height: 280px; height: 280px; margin: 0; }
  .home-hero .hero-art img { object-position: center 57%; }
  .eyebrow { margin-bottom: 16px; }
  .address-card { padding: 20px; }
  .address-row { flex-direction: row; }
  .address-row .btn { width: auto; padding: 0 18px; }
  .aisles { padding: 32px 0; }
  .section-heading { font-size: 23px; padding: 0 20px; }
  .app-band-inner { grid-template-columns: 1fr; padding: 32px 20px; gap: 28px; }
  .app-band h2 { font-size: 32px; }
  .merch { grid-template-columns: 1fr; margin: 36px 0; }
  .merch-copy { grid-column: 1; grid-row: 1; padding: 28px; }
  .merch img { grid-column: 1; grid-row: 2; height: 240px; }
  .merch h2 { font-size: 30px; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding-bottom: 40px; }
  .card-body { padding: 18px; }
  .card h3 { font-size: 19px; }
}
@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 16 / 9; }
  .address-row { flex-direction: column; }
  .address-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
