/* sandula.com: marketing site. Brand colours come from the logo (leaf green + pin orange). */
:root {
  --forest: #0f3d24;
  --forest-2: #164f30;
  --leaf: #2e9a40;
  --green: #1b7a3d; /* button fill: white text passes AA */
  --orange: #f2921c;
  --orange-ink: #8a4b00; /* orange text on white (AA) */
  --paper: #ffffff;
  --mist: #f1f6f1;
  --ink: #13221a;
  --ink-2: #4a5a50;
  --line: #dbe5dc;
  --radius: 14px;
  --radius-lg: 24px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
small { font-size: var(--step--1); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--mist); color: var(--forest); }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; }
.link-light { color: #fff; font-weight: 600; }
.link-light:hover { color: var(--orange); }

/* store badges: the one for this phone comes first (app.js sets data-os on <html>) */
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { display: block; border-radius: 9px; line-height: 0; }
.badge img { height: 50px; width: auto; }
.badges--sm .badge img { height: 42px; }
html[data-os='android'] .badge[data-os='ios'],
html[data-os='ios'] .badge[data-os='android'] { order: 2; opacity: 0.85; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo img { height: 40px; width: auto; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.top__nav a:hover, .top__nav a[aria-current='page'] { color: var(--green); text-decoration: underline; }
@media (max-width: 860px) {
  .top__nav { display: none; }
  .top .btn { margin-left: auto; }
}

/* hero */
.hero { background: var(--forest); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-block: 64px 72px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero__lead { font-size: var(--step-1); color: #d8eadb; max-width: 40ch; }
.hero__apps { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }

.picker { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 20px; margin-top: 28px; max-width: 520px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.picker label { display: block; font-weight: 700; font-size: var(--step-1); margin-bottom: 10px; }
.picker__row { display: flex; gap: 10px; }
.picker select { flex: 1; min-width: 0; min-height: 52px; padding: 0 44px 0 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2313221a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; font: 600 1rem var(--body); color: var(--ink); appearance: none; }
.picker select:focus-visible { border-color: var(--green); }
.picker__result { margin: 12px 0 0; color: var(--ink-2); font-size: var(--step--1); }
.picker__result strong { color: var(--ink); }
@media (max-width: 520px) { .picker__row { flex-direction: column; } }

/* the table: dishes seen from above, like a bantaba spread */
.hero__table { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.plate { position: absolute; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid #fff; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6); }
.plate--a { width: 66%; left: 4%; top: 12%; object-position: 50% 50%; }
.plate--b { width: 44%; right: 0; top: 0; }
.plate--c { width: 40%; right: 6%; bottom: 2%; }
.hero__table::before { content: ''; position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); left: 0; bottom: 10%; }
@media (prefers-reduced-motion: no-preference) {
  .plate { animation: set 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .plate--b { animation-delay: 0.12s; }
  .plate--c { animation-delay: 0.24s; }
  @keyframes set { from { opacity: 0; transform: translateY(18px) rotate(-8deg) scale(0.96); } }
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-block: 36px 48px; gap: 8px; }
  .hero__table { order: -1; max-width: none; aspect-ratio: 2.5 / 1; justify-self: stretch; margin-bottom: 18px; }
  .plate { border-width: 5px; }
  .plate--a { width: 40%; left: 0; top: 0; }
  .plate--b { width: 32%; left: 34%; top: 14%; right: auto; }
  .plate--c { width: 34%; right: 0; left: auto; top: 2%; bottom: auto; }
  .hero__table::before { width: 11%; left: 30%; bottom: -4%; }
  .hero h1 { font-size: 2.15rem; }
  .hero__lead { font-size: 1.1rem; }
}

/* sections */
.section { padding-block: 64px; }
.section--mist { background: var(--mist); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section__head a { font-weight: 700; }
.page-head { background: var(--mist); padding-block: 48px; }
.page-head h1 { font-size: var(--step-3); max-width: 24ch; }
.page-head p { font-size: var(--step-1); color: var(--ink-2); }
.page-head__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.page-head--orange { background: var(--orange); }
.page-head--orange p { color: var(--ink); }
.page-head--dark { background: var(--forest); color: #fff; }
.page-head--dark h1 { color: #fff; }
.page-head--dark p { color: #d8eadb; }
.crumbs { padding-block: 14px 0; font-size: var(--step--1); color: var(--ink-2); }
.crumbs + .page-head, .crumbs + .rhead { margin-top: 0; }

/* restaurant cards */
.rgrid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.rcard a { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; }
.rcard a:hover { border-color: var(--green); }
.rcard a:hover .rcard__name { text-decoration: underline; }
.rcard__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mist); }
.rcard__body { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 14px 16px 18px; position: relative; }
.rcard__logo { grid-row: span 3; width: 48px; height: 48px; border-radius: 12px; object-fit: contain; padding: 3px; background: #fff; border: 1px solid var(--line); margin-top: -30px; }
.rcard__name { font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.rcard__tags { color: var(--ink-2); font-size: var(--step--1); }
.rcard__meta { font-size: var(--step--1); margin-top: 6px; color: var(--ink-2); }
.rating { color: var(--orange-ink); font-weight: 700; }
.empty { margin-top: 20px; }
/* phones: compact row cards so the list stays scannable */
@media (max-width: 600px) {
  .rgrid { gap: 12px; }
  .rcard a { display: grid; grid-template-columns: 112px 1fr; }
  .rcard__cover { aspect-ratio: auto; height: 100%; min-height: 112px; }
  .rcard__body { grid-template-columns: 1fr; padding: 12px 14px; }
  .rcard__logo { display: none; }
  .rcard__name { font-size: 1.05rem; }
}

/* steps (a real sequence) */
.steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; font: 700 1.2rem var(--display); margin-bottom: 14px; }
.steps p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.paybox { margin-top: 40px; }
.pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay li { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pay__wave img { height: 28px; width: auto; }

/* areas */
.areas { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; background: #fff; }
.areas a:hover { border-color: var(--green); color: var(--green); }
.areas--small a { min-height: 38px; padding: 6px 14px; font-weight: 500; }
.areas--big { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.areas--big a { display: flex; flex-direction: column; align-items: flex-start; border-radius: var(--radius); padding: 16px 18px; }
.areas--big span { font: 700 var(--step-1) var(--display); }
.areas--big small { color: var(--ink-2); }
.note { margin-top: 24px; color: var(--ink-2); }

/* partners / riders split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split__card { border-radius: var(--radius-lg); padding: 36px; background: var(--mist); }
.split__card--orange { background: var(--orange); }
.split__card p { max-width: 38ch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split__card { padding: 26px; } }

.feats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feats p { color: var(--ink-2); }
.checklist { padding-left: 1.2em; }
.checklist li { margin-bottom: 6px; }

/* faq */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: var(--step-1); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 1.6rem var(--body); color: var(--green); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink-2); }

/* restaurant page */
.rhead { padding-block: 24px 48px; }
.rhead__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.rhead__cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); background: var(--mist); }
.rhead__logo { width: 72px; height: 72px; border-radius: 18px; border: 1px solid var(--line); object-fit: contain; padding: 4px; background: #fff; margin-bottom: 16px; }
.rhead h1 { font-size: var(--step-3); }
.rhead__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin: 20px 0 0; }
.facts dt { font-size: var(--step--1); color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 860px) { .rhead__in { grid-template-columns: 1fr; gap: 20px; } }

.menu-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.menu h2 small { font: 500 var(--step-0) var(--body); color: var(--ink-2); margin-left: 8px; }
.menu__cat { margin-top: 28px; }
.menu__cat h3 { border-bottom: 2px solid var(--forest); padding-bottom: 8px; }
.menu__cat ul { list-style: none; margin: 0; padding: 0; }
.menu__cat li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu__name small { display: block; color: var(--ink-2); }
.menu__price { font-weight: 700; white-space: nowrap; }
.aside { position: sticky; top: 92px; }
.aside h2 { font-size: var(--step-1); font-family: var(--body); margin-top: 8px; }
.aside .pay { margin-bottom: 20px; }
@media (max-width: 860px) { .menu-layout { grid-template-columns: 1fr; } .aside { position: static; } }

/* download band */
.band { background: var(--forest); color: #fff; padding-block: 56px; }
.band h2 { color: #fff; }
.band p { color: #d8eadb; }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.band__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* footer */
.foot { background: #0a2b19; color: #cfe0d2; padding-block: 48px 24px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot__logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.foot h2 { font: 700 var(--step-0) var(--body); color: #fff; margin-bottom: 10px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { color: #cfe0d2; text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot__small { margin-top: 36px; font-size: var(--step--1); color: #9fb7a5; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
