/* Fravin marketing site. White-first. Brand accents mirror the app tokens. */
:root {
  --primary: #d84a30;
  --primary-dark: #a83420;
  --on-primary: #fff;
  --primary-container: #f8d3c9;
  --ink: #1f1b19;
  --muted: #53433f;
  --bg: #ffffff;
  --band: #f8f6f5;
  --line: #d8c2bc;
  --line-soft: #ece2dd;
  --wash: #fbe9e2;
  --veg: #2e7d32;
  --star: #f5a623;
  --r-btn: 6px;
  --r-card: 10px;
  --r-field: 6px;
  --max: 1120px;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-mark: "Baloo 2", "Roboto", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--primary); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.site-header .btn { padding: 9px 18px; font-size: 14px; }
/* Logo is the product name alone: Baloo 2 wordmark, "i" in brand red. */
.wordmark { font-family: var(--font-mark); font-weight: 800; font-size: 28px; text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark .dot-i { color: var(--primary); }
/* Download section */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.dl-app h3 { margin: 0 0 6px; font-size: 19px; font-family: var(--font-mark); }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
/* Bold showcase banner: deep brand orange, cream type, product art. */
.showcase { display: grid; grid-template-columns: 1fr 1fr; background: #be3a24; border-radius: 18px; overflow: hidden; color: #fff7f2; }
.show-text { padding: 44px 40px; }
.show-text h2 { font-family: var(--font-mark); font-weight: 800; font-size: 44px; line-height: 1.05; margin: 0 0 14px; color: #fffdfb; }
.show-text p { color: #fbe9e2; margin: 0 0 22px; font-size: 17px; }
.btn-light { background: #fffdfb; color: #8c2a1a; }
.btn-light:hover { background: #fbe9e2; }
.show-mark { font-family: var(--font-mark); font-weight: 800; font-size: 30px; color: #fffdfb; margin: 26px 0 0; }
.dl-free { font-weight: 700; color: #fffdfb; margin: 16px 0 0; font-size: 15px; }
#year { text-align: center; }
.showcase img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Flat backdrop with an empty centre; the phone is real CSS so the splash always fills it. */
.show-art { position: relative; container-type: inline-size; line-height: 0; align-self: stretch; width: 100%; min-height: 360px; }
.show-art > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
/* CSS phone frame centred over the art; the real splash fills its screen exactly. */
.show-phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; max-width: 200px; aspect-ratio: 9 / 18.6; background: #2e1a15; border-radius: 24px; padding: 7px; line-height: 0; }
.show-splash { width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: #fcfcfc; line-height: 0; }
.show-splash img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Framed illustrations */
.section.band .split { align-items: center; }
.section.band .split .fig { max-width: 440px; width: 100%; justify-self: center; margin: 56px 0 0; }
/* Pull the "How a pickup works" section closer to the eatery image above it. */
.section.band + .section { padding-top: 24px; }
.fig { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(31,27,25,0.06); }
.fig img { display: block; width: 100%; height: auto; }
.figcap { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line-soft); margin: 0; }
@media (max-width: 920px) { .dl-grid { grid-template-columns: 1fr; } }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 14px; border-radius: var(--r-field); font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--band); }
.nav a[aria-current="page"] { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-field); padding: 8px 12px; font: inherit; }

/* Buttons */
.btn {
  display: inline-block;
  border-radius: var(--r-btn);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); }

/* Hero */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-dark); margin: 0 0 12px; }
.hero h1 { font-family: var(--font-mark); font-size: 46px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 33em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink); }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #e7f3e8; color: var(--veg); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* App visual: map sheet + order card */
.visual { border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 2px 10px rgba(31,27,25,0.06); }
.map {
  height: 210px;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    #f1ede5;
  background-size: 26px 26px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sheet { padding: 16px 18px 18px; }
.sheet h3 { margin: 0 0 4px; font-size: 15px; }
.sheet .addr { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.eatery { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.eatery .meta { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-field); white-space: nowrap; }
.tag.open { background: #e7f3e8; color: var(--veg); }
.tag.closed { background: var(--band); color: var(--muted); border: 1px solid var(--line-soft); }

/* Sections */
.section { padding: 60px 0; }
.section.band { background: #fff; border: none; }
.section h2 { font-family: var(--font-mark); font-size: 31px; line-height: 1.22; margin: 0 0 10px; letter-spacing: -0.005em; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-dark); margin: 0 0 10px; }
.section .sub { color: var(--muted); max-width: 46em; margin: 0 0 30px; font-size: 17px; }

/* Alternating intro rows */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 34px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.row h3 { margin: 0 0 8px; font-size: 20px; font-family: var(--font-mark); }
.row p { margin: 0 0 10px; color: var(--muted); }
.row .no { font-size: 13px; font-weight: 700; color: var(--primary-dark); letter-spacing: 0.06em; }
.mini { border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; padding: 16px 18px; }
.mini h4 { margin: 0 0 6px; font-size: 14px; }
.mini p { margin: 0; font-size: 13px; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }

/* Steps */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how div { border-top: 2px solid var(--primary); padding-top: 14px; }
.how h3 { margin: 0 0 6px; font-size: 17px; }
.how p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; margin-bottom: 10px; padding: 14px 18px; }
.faq summary { font-weight: 600; cursor: pointer; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 32px 0 8px; }
.prose p, .prose li { color: #33302d; }
.prose ul { padding-left: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; padding: 24px; }
.panel h3 { margin: 0 0 8px; font-size: 18px; }
.panel p { margin: 0 0 12px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line-soft); margin-top: 0; padding: 40px 0 30px; background: #fff; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 7px 0; }
.foot a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; }
.small { font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 920px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid, .row, .contact-grid { grid-template-columns: 1fr; }
  .row { gap: 18px; }
  .hero h1 { font-size: 35px; }
  .showcase { grid-template-columns: 1fr; }
  .show-text { padding: 32px 24px; }
  .show-text h2 { font-size: 34px; }
  .show-art { min-height: 440px; }
  .show-phone { width: 44%; max-width: 230px; }
  .how { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line-soft); padding: 8px 24px 16px; flex-direction: column; }
  .nav.open { display: flex; }
  .menu-btn { display: inline-block; }
  .bar .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
