/* Bimsy website. Calm, warm, fresh. No build step.
   Brand: basil green, clementine and cream, from the Bimsy bag icon. */
:root {
  --basil: #1E6A45;
  --basil-deep: #15523A;
  --basil-soft: #D5E8DC;
  --basil-tint: #EAF3EC;
  --sage: #A9D8B8;
  --clementine: #E8692A;
  --clementine-ink: #B4481A; /* text-safe clementine (AA on cream and white) */
  --clementine-soft: #FCE3D3;
  --peach: #FFD9C2;
  --kraft: #C79A6A;
  --kraft-soft: #F0E4D3;
  --kraft-ink: #6E4A26;
  --cream: #F7F6EF;
  --cream-deep: #EFEEE4;
  --surface: #FFFFFF;
  --ink: #17221B;
  --ink-soft: #4A5A4F;
  --line: #E3E5DA;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 1px 2px rgba(23, 34, 27, 0.04), 0 10px 28px -10px rgba(30, 106, 69, 0.18);
  --shadow-lift: 0 2px 4px rgba(23, 34, 27, 0.05), 0 22px 40px -16px rgba(30, 106, 69, 0.28);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ui: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --max: 1080px;
  color-scheme: light;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--basil); text-underline-offset: 3px; }
a:hover { color: var(--basil-deep); }
:focus-visible { outline: 3px solid var(--clementine); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, .wordmark {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.hl { font-style: normal; color: var(--clementine-ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* Header */
.site-header { padding: 16px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.wordmark { font-size: 1.7rem; margin: 0; color: var(--basil); letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; padding: 10px 12px; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover, .nav a[aria-current='page'] { background: var(--basil-tint); color: var(--basil); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--ui); font-weight: 800; font-size: 1.08rem; text-decoration: none;
  transition: transform 160ms cubic-bezier(.2,.9,.3,1.2), box-shadow 160ms ease, background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--basil); color: #fff; box-shadow: 0 10px 22px -10px rgba(30, 106, 69, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.btn-primary:hover { background: var(--basil-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { color: var(--basil); box-shadow: inset 0 0 0 2px var(--sage); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* "Coming soon" badge until Bimsy is on the App Store */
.soon {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 20px 10px 16px;
  background: var(--ink); color: #fff; border-radius: 14px; line-height: 1.1;
}
.soon svg { width: 24px; height: 24px; flex: none; }
.soon small { display: block; font-size: 0.72rem; font-weight: 600; opacity: 0.85; }
.soon strong { display: block; font-weight: 800; font-size: 1.15rem; }

/* Hero */
.hero { padding: 20px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--clementine-soft); color: var(--clementine-ink); font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.04em; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow.green { background: var(--basil-soft); color: var(--basil-deep); }
.eyebrow.kraft { background: var(--kraft-soft); color: var(--kraft-ink); }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 36ch; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 20px 0 0; font-weight: 700; font-size: 0.97rem; color: var(--ink-soft); }
.ticks li::before { content: '✓'; color: var(--basil); margin-right: 6px; font-weight: 800; }

.hero-art { position: relative; width: 100%; max-width: 440px; justify-self: center; padding: 24px 0 8px; }
.hero-art .blob {
  position: absolute; inset: 4% 0 0; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  background: radial-gradient(circle at 35% 30%, var(--peach), var(--basil-soft) 72%);
}
.hero-art .app-icon {
  position: absolute; z-index: 3; width: 92px; height: 92px; top: 0; left: 4%; border-radius: 22px;
  transform: rotate(-8deg); box-shadow: var(--shadow-lift);
}
.hero-art .mock { margin-top: 78px; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 16px; }
  .hero-art { max-width: 380px; }
}

/* Mock app cards, drawn in HTML (no screenshots until the app is built) */
.mock {
  position: relative; z-index: 2; background: var(--surface); border-radius: 26px; box-shadow: var(--shadow-lift);
  padding: 20px; margin: 44px 6% 0; font-size: 0.95rem;
}
.mock h3 { font-size: 1.15rem; margin: 0 0 2px; }
.mock .sub { color: var(--ink-soft); font-size: 0.85rem; margin: 0 0 12px; }
.mock ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mock li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--cream); }
.mock li .dish { flex: 1; min-width: 0; font-weight: 700; line-height: 1.25; }
.mock li .dish small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.78rem; }
.mock .day {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--basil-soft); color: var(--basil-deep); font-weight: 800; font-size: 0.78rem;
}
.mock .cost { font-weight: 800; color: var(--basil); font-variant-numeric: tabular-nums; }
.mock .bar { height: 10px; border-radius: 999px; background: var(--cream-deep); overflow: hidden; margin: 12px 0 6px; }
.mock .bar span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--basil), #2E8A5C); }
.mock .foot { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.mock .shop-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
  background: var(--clementine-soft); color: var(--clementine-ink); margin-bottom: 8px;
}
.mock .shop-tag.green { background: var(--basil-soft); color: var(--basil-deep); }
.mock .tick { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--sage); }
.mock .tick.on { background: var(--basil); border-color: var(--basil); position: relative; }
.mock .tick.on::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.75rem; font-weight: 800; }
.mock .done .dish { text-decoration: line-through; color: var(--ink-soft); }
.mock .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mock .chip { padding: 5px 11px; border-radius: 999px; background: var(--basil-tint); border: 1.5px solid var(--basil-soft); font-weight: 700; font-size: 0.82rem; }
.mock .split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock .plate { border-radius: 16px; padding: 12px; background: var(--cream); }
.mock .plate.kid { background: var(--clementine-soft); }
.mock .plate b { display: block; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.mock .plate p { margin: 0; font-size: 0.86rem; line-height: 1.4; }
.mock .kcal { font-family: var(--display); font-variation-settings: 'SOFT' 100; font-weight: 650; font-size: 2rem; color: var(--basil); line-height: 1; }

.float {
  position: absolute; z-index: 4; background: #fff; border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow);
  font-weight: 800; font-size: 0.9rem; white-space: nowrap;
}
.float.a { top: 10%; right: 0; }
.float.b { bottom: -4%; left: 2%; }

/* Supermarket strip */
.stores { padding: 8px 0 24px; }
.stores-title { text-align: center; font-weight: 800; color: var(--ink-soft); margin-bottom: 14px; }
.store-group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; }
.store-group .flag { font-weight: 800; font-size: 0.85rem; color: var(--kraft-ink); background: var(--kraft-soft); border-radius: 999px; padding: 6px 12px; }
.store-group li:not(.flag) {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 13px; font-weight: 700; font-size: 0.95rem;
}

/* Feature spotlights */
.spot .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.spot .mock { margin: 0; width: 100%; max-width: 380px; justify-self: center; }
.spot.flip .mock { order: 2; }
.spot-copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 42ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.checks li::before {
  content: '✓'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--basil-soft); color: var(--basil-deep); font-weight: 800; font-size: 0.9rem; margin-top: 1px;
}
@media (max-width: 820px) {
  .spot .wrap { grid-template-columns: 1fr; gap: 28px; }
  .spot.flip .mock { order: 0; }
}

/* Sections */
section { padding: 52px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-head p { color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.icon-bubble { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 14px; font-size: 1.55rem; }
.tone-green { background: var(--basil-soft); }
.tone-orange { background: var(--clementine-soft); }
.tone-kraft { background: var(--kraft-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--clementine); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px;
}
.steps p { color: var(--ink-soft); margin: 0; }

.pricing { background: var(--basil); color: #fff; border-radius: var(--radius-lg); padding: 44px clamp(20px, 5vw, 40px); text-align: center; }
.pricing h2 { color: #fff; }
.pricing p { color: #DCEFE3; max-width: 56ch; margin-left: auto; margin-right: auto; }
.pricing .big { font-family: var(--display); font-variation-settings: 'SOFT' 100; font-weight: 650; font-size: clamp(1.35rem, 3.4vw, 1.9rem); color: var(--peach); margin-bottom: 10px; }
.pricing a { color: #fff; }
.pricing .btn-row { justify-content: center; margin-top: 22px; }
.pricing .soon { background: #fff; color: var(--ink); }

.cta-band .wrap {
  background: linear-gradient(160deg, #F07A3E 0%, var(--clementine) 45%, #D2571C 100%); color: #fff;
  border-radius: var(--radius-lg); padding: 44px 24px; text-align: center; display: grid; justify-items: center; gap: 4px;
  max-width: calc(var(--max) - 2 * var(--gutter));
}
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band img { width: 88px; height: 88px; border-radius: 21px; margin-bottom: 14px; box-shadow: 0 14px 30px -12px rgba(80, 30, 5, 0.5); }
.cta-band .small { color: #fff; margin: 14px 0 0; font-weight: 700; }
.cta-band .soon { background: #fff; color: var(--ink); }
@media (max-width: 820px) { .cta-band .wrap { width: calc(100% - 2 * var(--gutter)); } }

/* Legal / prose */
.prose { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 5vw, 48px); box-shadow: var(--shadow); margin-bottom: 56px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.7rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.96rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); min-width: 140px; }
.prose th { background: var(--cream); font-weight: 800; }
.meta { color: var(--ink-soft); font-size: 0.95rem; }
.note { background: var(--basil-tint); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 1.2em; }
.note p:last-child { margin: 0; }

/* FAQ */
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.prose .faq details { background: var(--cream); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 800; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 600; color: var(--clementine-ink); transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 20px 18px; }
.faq .answer p:last-child, .faq .answer ol:last-child { margin-bottom: 0; }

/* Small centred card (404) */
.center-card-wrap { min-height: 64vh; display: grid; place-items: center; padding: 16px var(--gutter) 56px; }
.center-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 6vw, 44px); text-align: center; max-width: 520px; width: 100%; }
.center-card img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 16px; }
.center-card .btn-row { justify-content: center; }
.small { font-size: 0.92rem; color: var(--ink-soft); }

/* Footer */
.site-footer { padding: 36px 0 44px; border-top: 1.5px solid var(--line); margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 999px; }
.footer-links a:hover { background: var(--basil-tint); color: var(--basil); }
.site-footer .small { margin: 0; }

/* Gentle motion: the hero icon floats a little. Calm, never busy. */
.hero-art .app-icon { animation: bob 4.5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: rotate(-8deg) translateY(0); } to { transform: rotate(-6deg) translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art .app-icon { animation: none; }
  .btn { transition: none; }
}
