/* The "Market" layout: options C, E and F share it. Every colour and font comes from the
   tokens each option sets on :root in its own style.css, so a new look is a new token block.

   Tokens (all required):
     --bg --card --cream-2 --line           page, cards, a quiet fill, hairlines
     --text --head --muted                  body text, headings, secondary text
     --brand --brand-2 --brand-soft         primary buttons/links, its hover, its soft fill
     --on-brand                             text on --brand
     --accent                               kickers, the cost bar's cost
     --sun --sun-ink                        badges, the "cooking" step, number 1
     --peach --peach-ink                    number 2
     --paper                                white chips inside tinted panels
     --warn-ink                             the low-stock line
     --art-cafe --art-cafe-ink --art-cost --art-close   the stories' picture panels
     --wa-bg --wa-dot --wa-in --wa-out --wa-text        the WhatsApp chat panel
     --hot-bg --hot-text --hot-head --hot-muted --hot-tick   the highlighted plan
     --cta-bg --cta-text --cta-head --cta-em --cta-btn --cta-btn-ink   the closing box
     --frame --shadow --top-bg --focus      phone frame, shadow colour, sticky header, focus ring
     --font-head --font-body --head-weight --em-style --em-weight --radius --btn-radius
*/

body { background: var(--bg); color: var(--text); font-size: 17px; font-family: var(--font-body); }
h1, h2, h3 { font-family: var(--font-head); color: var(--head); font-weight: var(--head-weight); letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
h1 em, h2 em { font-style: var(--em-style); color: var(--brand); font-weight: var(--em-weight); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: var(--btn-radius); font-weight: 700; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--green { background: var(--brand); color: var(--on-brand); }
.btn--green:hover { background: var(--brand-2); }
.btn--soft { background: var(--card); color: var(--head); border-color: var(--line); }
.btn--soft:hover { border-color: var(--brand); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.link { color: var(--head); font-weight: 600; text-decoration: none; }

.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; text-decoration: none; }
.logo__dots { width: 52px; height: auto; }
.logo__word { color: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: .16em; line-height: 1; }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 20; background: var(--top-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 32px; height: 70px; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--brand); }
.nav__signin { display: none; }
.top__cta { display: flex; gap: 18px; align-items: center; }

/* ---- Hero ---- */
.hero { position: relative; padding: 72px 0 112px; overflow: hidden; }
.fruit svg { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); transform: rotate(var(--r)); opacity: .9; animation: float 8s ease-in-out infinite; }
.fruit svg:nth-child(2n) { animation-delay: -3s; }
.fruit svg:nth-child(3n) { animation-delay: -5s; }
@keyframes float { 50% { translate: 0 -10px; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-2); font-weight: 600; font-size: .88rem; margin-bottom: 22px; }
.lead { font-size: 1.2rem; margin: 24px 0 32px; max-width: 32em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__small { margin-top: 22px; font-size: .92rem; color: var(--muted); }

.hero__art { position: relative; display: flex; justify-content: flex-end; padding: 20px 24px 20px 0; }
.phone { width: 290px; padding: 16px; border-radius: 36px; background: var(--card); border: 8px solid var(--frame); box-shadow: 0 40px 80px -36px var(--shadow); font-size: .9rem; }
.phone__top { display: grid; gap: 2px; padding: 6px 4px 14px; }
.phone__top span { font-size: .78rem; color: var(--muted); }
.phone__top b { font-family: var(--font-head); font-size: 1.1rem; color: var(--head); }
.phone__track { padding: 14px; border-radius: 18px; background: var(--brand-soft); }
.track__h { font-weight: 700; color: var(--head); margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0 0 12px; list-style: none; font-size: .76rem; font-weight: 700; text-align: center; }
.steps li { padding: 6px 0; border-radius: 99px; background: var(--paper); color: var(--muted); }
.steps .done { background: var(--brand); color: var(--on-brand); }
.steps .now { background: var(--sun); color: var(--sun-ink); }
.track__line { display: flex; justify-content: space-between; padding: 5px 0; }
.track__line b { color: var(--head); }
.phone__h { margin: 14px 4px 8px; font-weight: 700; color: var(--head); }
.phone__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__menu div { display: grid; justify-items: start; gap: 2px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); }
.phone__menu svg { width: 30px; height: 30px; }
.phone__menu b { color: var(--brand); }
.note { position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 40px -20px var(--shadow); font-size: .86rem; }
.note b { color: var(--head); }
.note--wa { left: 0; top: 70px; max-width: 210px; }
.note--wa em { font-style: normal; color: var(--brand); font-weight: 700; }
.note--pts { left: 20px; bottom: 70px; }
.note--pts span { color: var(--muted); }

/* ---- Shared section bits ---- */
section { scroll-margin-top: 80px; }
.center { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 14px; }

/* ---- Why ---- */
.why { padding: 104px 0; background: var(--card); border-block: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why article { padding: 8px 4px; }
.num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.why article:nth-child(2) .num { background: var(--peach); color: var(--peach-ink); }
.why article:nth-child(3) .num { background: var(--brand-soft); color: var(--brand-2); }
.why h3 { margin-bottom: 10px; }

/* ---- Stories ---- */
.stories { padding: 112px 0; }
.tale { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 48px 0; }
.tale + .tale { border-top: 1px dashed var(--line); }
.tale--flip .tale__art { order: 2; }
.tale__who { font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.tale h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 18px; }
.tale__copy p + p { margin-top: 14px; }
.tale__copy em { color: var(--head); font-weight: 600; font-style: normal; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.uses li { padding: 6px 14px; border-radius: 99px; background: var(--cream-2); font-weight: 600; font-size: .85rem; color: var(--head); }
.tale__art { position: relative; min-height: 300px; border-radius: var(--radius); padding: 32px; display: grid; place-content: center; gap: 12px; }
.tale__art--cafe { background: var(--art-cafe); text-align: center; color: var(--art-cafe-ink); }
.tale__fruit { position: absolute; width: 90px; height: 90px; right: 24px; top: 20px; transform: rotate(18deg); }
.qr { display: grid; grid-template-columns: repeat(3, 34px); gap: 6px; padding: 18px; background: var(--paper); border-radius: 18px; margin: 0 auto; box-shadow: 0 16px 30px -18px var(--shadow); }
.qr i { width: 34px; height: 34px; border-radius: 6px; background: var(--head); }
.qr i:nth-child(2), .qr i:nth-child(4), .qr i:nth-child(8) { background: transparent; border: 6px solid var(--head); }
.qr i:nth-child(5) { background: var(--brand); }
.tale__art--cafe b { font-family: var(--font-head); font-size: 1.4rem; color: var(--head); }
/* The order a guest builds on the table's tablet. */
.mini { display: grid; gap: 8px; width: min(260px, 100%); margin: 0 auto; padding: 20px; border-radius: 18px; background: var(--paper); text-align: left; color: var(--text); box-shadow: 0 16px 30px -18px var(--shadow); }
.mini span { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mini em { margin-top: 6px; padding: 10px; border-radius: var(--btn-radius); background: var(--brand); color: var(--on-brand); font-style: normal; font-weight: 700; text-align: center; }
.tale__art--wa { background: var(--wa-bg) radial-gradient(circle at 20% 20%, var(--wa-dot) 0 2px, transparent 3px) 0 0 / 22px 22px; }
.wa { display: grid; gap: 10px; width: min(340px, 100%); font-size: .94rem; color: var(--wa-text); }
.wa p { padding: 10px 14px; border-radius: 14px; max-width: 86%; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa__in { background: var(--wa-in); border-top-left-radius: 3px; }
.wa__out { justify-self: end; background: var(--wa-out); border-top-right-radius: 3px; }
.tale__art--cost { background: var(--art-cost); }
.cost__h { font-family: var(--font-head); font-size: 1.5rem; color: var(--head); }
.cost__bar { display: flex; width: min(380px, 100%); height: 46px; border-radius: 12px; overflow: hidden; font-size: .82rem; font-weight: 700; }
.cost__bar span { display: grid; place-items: center; width: var(--w); background: var(--accent); color: #fff; }
.cost__bar span + span { background: var(--brand); color: var(--on-brand); }
.cost__low { padding: 10px 14px; border-radius: 12px; background: var(--paper); font-weight: 600; color: var(--warn-ink); }
.cost__po { font-size: .86rem; color: var(--brand-2); }
.tale__art--close { background: var(--art-close); justify-content: center; }
.close__h { font-family: var(--font-head); font-size: 1.5rem; color: var(--head); margin-bottom: 4px; }
.close__i { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 260px; border-radius: 12px; background: var(--paper); font-weight: 600; }
.close__i::before { content: ''; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: none; }
.close__i.is-done { color: var(--muted); text-decoration: line-through; }
.close__i.is-done::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--brand); }

/* ---- Basket ---- */
.basket { padding: 104px 0; background: var(--card); border-block: 1px solid var(--line); }
.basket__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.basket article { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); border-top: 5px solid var(--c); }
.basket h3 { font-size: 1.25rem; margin-bottom: 14px; }
.basket ul { display: grid; gap: 8px; }
.basket li { padding-left: 20px; position: relative; }
.basket li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* ---- Pricing ---- */
.pricing { padding: 112px 0; }
.switch { display: inline-flex; margin-top: 26px; padding: 5px; border-radius: 99px; background: var(--cream-2); }
.switch button { border: 0; background: none; padding: 9px 22px; border-radius: 99px; font-weight: 700; color: var(--muted); }
.switch button.is-on { background: var(--card); color: var(--head); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.switch__note { margin-top: 10px; font-size: .9rem; color: var(--brand); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { position: relative; padding: 32px; border-radius: calc(var(--radius) + 6px); background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; }
.plan--hot { background: var(--hot-bg); color: var(--hot-text); border-color: var(--hot-bg); }
.plan--hot h3, .plan--hot .plan__price b, .plan--hot li b { color: var(--hot-head); }
.plan--hot .plan__for { color: var(--hot-muted); }
.plan__fruit { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; }
.plan__badge { justify-self: start; padding: 4px 12px; border-radius: 99px; background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: .8rem; }
.plan__for { color: var(--muted); }
.plan__price { margin: 8px 0; }
.plan__price b { font-family: var(--font-head); font-size: 3rem; color: var(--head); font-weight: var(--head-weight); margin-right: 4px; }
.plan ul { display: grid; gap: 8px; margin-bottom: 14px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan--hot li::before { color: var(--hot-tick); }
.pricing__note { text-align: center; margin-top: 30px; color: var(--muted); font-size: .94rem; }

/* ---- FAQ ---- */
.faq { padding: 104px 0; background: var(--cream-2); }
.faq__wrap { max-width: 820px; }
.faq__list { display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--card); }
summary { padding: 20px 56px 20px 24px; font-weight: 700; color: var(--head); position: relative; font-size: 1.05rem; }
summary::after { content: ''; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat, var(--brand-soft); }
details[open] summary::after { background: linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat, var(--brand-soft); }
details p { padding: 0 24px 22px; }

/* ---- CTA ---- */
.cta { padding: 112px 0; }
.cta__box { position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: calc(var(--radius) + 14px); background: var(--cta-bg); color: var(--cta-text); }
.cta h2 { color: var(--cta-head); max-width: 14em; margin: 0 auto; }
.cta h2 em { color: var(--cta-em); }
.cta__box > p { margin: 16px auto 0; max-width: 34em; font-size: 1.1rem; }
.cta__form { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cta__form input { width: min(360px, 100%); padding: 15px 22px; border-radius: var(--btn-radius); border: 0; background: #fff; color: #222; }
.cta__form .btn--green { background: var(--cta-btn); color: var(--cta-btn-ink); }
.cta__sent { color: var(--cta-head); font-weight: 700; font-size: 1.1rem; }
.cta__f { position: absolute; width: 110px; height: 110px; opacity: .95; }
.cta__f--1 { left: -20px; top: -20px; transform: rotate(-14deg); }
.cta__f--2 { right: 30px; bottom: -30px; width: 140px; height: 140px; }
.cta__f--3 { right: -16px; top: 24px; transform: rotate(24deg); width: 80px; height: 80px; }

/* ---- Footer ---- */
.foot { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.foot__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__grid p { margin-top: 12px; color: var(--muted); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: start; }
.foot nav a { text-decoration: none; color: var(--text); }
.foot nav a:hover { color: var(--brand); }
.foot__base { margin-top: 40px; font-size: .88rem; color: var(--muted); }

/* ---- Smaller screens ---- */
@media (max-width: 1020px) {
  .hero__art { justify-content: center; padding-right: 0; }
  .hero__grid, .tale { grid-template-columns: 1fr; gap: 36px; }
  .tale--flip .tale__art { order: 0; }
  .why__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .basket__grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__signin { display: block; }
  .top__cta { margin-left: auto; }
  .top__cta .link { display: none; }
  .burger { display: block; color: var(--head); }
}
@media (max-width: 640px) {
  .top__cta .btn { display: none; }
  .hero { padding: 40px 0 72px; }
  .fruit svg { --s: 40px !important; opacity: .6; }
  .fruit svg:nth-child(-n+3) { display: none; } /* the top three would sit behind the headline */
  .note { display: none; }
  .basket__grid { grid-template-columns: 1fr; }
  .why, .stories, .basket, .pricing, .faq, .cta { padding: 72px 0; }
  .tale__art { padding: 24px; min-height: 0; }
  .close__i { min-width: 0; }
  .cta__box { padding: 56px 20px; border-radius: 26px; }
  .cta__f { width: 64px; height: 64px; }
  .cta__f--2 { width: 90px; height: 90px; }
}
