/* Light only, like the app: cream background, white cards, green accents. */
:root {
  color-scheme: light;
  --bg: #fcf9f8; --panel: #ffffff; --ink: #1c1b1b; --muted: #5f6b60;
  --line: #ebe7e2; --green: #006d37; --soft: #eef8f1;
  --shadow: 0 10px 30px rgba(28, 27, 27, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, .brand { font-family: Montserrat, Inter, -apple-system, sans-serif; }
a { color: var(--green); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { position: sticky; top: 0; z-index: 10;
  background: rgba(252, 249, 248, .82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
header.site .wrap { display: flex; align-items: center; gap: 10px; height: 64px; }
header.site a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--green); font-weight: 800; font-size: 19px; }
header.site img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
header.site nav a:hover { color: var(--green); }

main { padding: 40px 0 64px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.5px; font-weight: 800; }
h2 { font-size: 20px; margin: 36px 0 8px; font-weight: 700; }
h3 { font-size: 16px; margin: 24px 0 4px; font-weight: 700; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; margin: 20px 0; box-shadow: var(--shadow); }
.note { background: var(--soft); border-color: transparent; box-shadow: none; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
.scroll { overflow-x: auto; }

/* Home: the app's opening screen. The photo fades into the cream
   background, with a frosted card on top. */
.photo { position: relative; display: flex; align-items: flex-end;
  min-height: min(86vh, 760px); padding: 48px 0 40px;
  background: url(hero.jpg) center 62% / cover no-repeat; }
/* Fade only the bottom into the page, and a soft wash behind the card. */
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(252, 249, 248, .55) 22%, rgba(252, 249, 248, 0) 48%); }
.photo .wrap { position: relative; z-index: 2; width: 100%; max-width: 1080px; }
.glass { max-width: 440px; padding: 28px 26px; text-align: left;
  background: rgba(252, 249, 248, .66); border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 24px; box-shadow: 0 12px 40px rgba(28, 27, 27, .12);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.glass img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.glass h1 { font-size: 34px; margin-top: 16px; }
.glass p.lead { font-size: 18px; color: var(--muted); margin: 8px 0 0; }
.waitlist { margin-top: 22px; }
.soon-note { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--green); }
.waitlist .row { display: flex; gap: 8px; }
.waitlist input[type=email] { flex: 1; min-width: 0; padding: 12px 16px; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; outline: none; }
.waitlist input[type=email]:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 109, 55, .15); }
.waitlist button { padding: 12px 20px; font: inherit; font-size: 15px; font-weight: 700; color: #fff;
  background: var(--green); border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.waitlist button:disabled { opacity: .7; cursor: default; }
.waitlist .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .msg { margin: 8px 0 0; font-size: 14px; min-height: 1em; }
.waitlist .msg:empty { display: none; }
.waitlist .msg.ok { color: var(--green); font-weight: 600; }
.waitlist .msg.err { color: #ba1a1a; }
.home main { padding-top: 8px; }

/* Features: big slides that snap, with the neighbours peeking in. */
.features { margin: 8px 0 32px; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px max(20px, calc((100vw - 1040px) / 2)) 24px; scrollbar-width: none; outline: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(1040px, calc(100vw - 56px)); scroll-snap-align: center;
  display: grid; grid-template-columns: 1.15fr 1fr; min-height: 460px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  transform: scale(.94); opacity: .5; cursor: pointer;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.slide.active { transform: none; opacity: 1; cursor: default; }
.track.jump, .track.jump .slide { scroll-behavior: auto; transition: none; }
.copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 44px; }
.copy .step { font: 800 14px/1 Montserrat, sans-serif; color: var(--green); letter-spacing: 2px; }
.copy h2 { font-size: 34px; line-height: 1.15; margin: 14px 0 12px; letter-spacing: -.5px; }
.copy p { margin: 0; font-size: 18px; color: var(--muted); }
.slide.seen .copy > * { animation: rise .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.slide.seen .copy h2 { animation-delay: .08s; }
.slide.seen .copy p { animation-delay: .16s; }

.visual { position: relative; overflow: hidden; background: var(--soft); }
.v-cuisines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px; align-content: center; }
.v-cuisines figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 27, 27, .12); }
.v-cuisines img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-cuisines figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 700; }
.slide.seen .v-cuisines figure { animation: pop .55s cubic-bezier(.2, .9, .3, 1.3) backwards;
  animation-delay: calc(var(--i) * 80ms + .1s); }

.v-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.seen .v-photo img { animation: zoom 7s ease-out both; }
.chips { position: absolute; left: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 320px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.chips b { color: var(--green); }
.slide.seen .chips span { animation: rise .5s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(var(--i) * 120ms + .35s); }

.heart { position: absolute; top: 20px; right: 20px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.heart svg { width: 28px; height: 28px; fill: #e5383b; }
.toast { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 14px;
  background: rgba(28, 27, 27, .82); color: #fff; font-size: 14px; font-weight: 600; }
.slide.seen .heart { animation: beat .7s cubic-bezier(.2, .9, .3, 1.4) .5s backwards; }
.slide.seen .toast { animation: rise .5s cubic-bezier(.2, .8, .2, 1) 1s backwards; }

.controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover svg { stroke: var(--green); }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line);
  cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-current=true] { width: 26px; background: var(--green); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
@keyframes zoom { from { transform: scale(1.12); } }
@keyframes beat { 0% { opacity: 0; transform: scale(.3); } 60% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide * { animation: none !important; transition: none !important; }
}
@media (max-width: 760px) {
  .track { gap: 12px; padding-left: 20px; padding-right: 20px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 280px auto; min-height: 0; border-radius: 24px; }
  .copy { padding: 22px 22px 26px; }
  .copy h2 { font-size: 26px; margin-top: 10px; }
  .copy p { font-size: 16px; }
  .v-cuisines { gap: 8px; padding: 14px; }
  .arrow { display: none; }
}

/* Hero entrance: logo pops, words rise one by one, "crave." gets a swoosh,
   then the text and form follow. */
.photo { overflow: hidden; }
.glass .logo { animation: logoPop .7s cubic-bezier(.2, .9, .3, 1.4) .05s backwards; }
.headline .w { display: inline-block; animation: wordUp .7s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(.2s + var(--i) * .09s); }
.headline .crave { position: relative; color: var(--green); }
.headline .crave svg { position: absolute; left: 0; right: 4%; bottom: -.12em; width: 96%; height: .32em; overflow: visible; }
.headline .crave path { fill: none; stroke: #2ecc71; stroke-width: 4.5; stroke-linecap: round;
  stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw .8s cubic-bezier(.6, 0, .2, 1) 1s forwards; }
.glass .lead { animation: wordUp .7s cubic-bezier(.2, .8, .2, 1) .7s backwards; }
.glass .waitlist { animation: wordUp .7s cubic-bezier(.2, .8, .2, 1) .85s backwards; }
.waitlist button { position: relative; overflow: hidden; }
.waitlist button::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  animation: shine 1.1s ease-in-out 1.8s; }
.waitlist button:hover { filter: brightness(1.08); }


@keyframes logoPop { 0% { opacity: 0; transform: scale(.4) rotate(-12deg); } 70% { transform: scale(1.08) rotate(3deg); } }
@keyframes wordUp { from { opacity: 0; transform: translateY(.5em); filter: blur(4px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shine { to { transform: translateX(120%); } }
@keyframes settle { from { transform: scale(1.1); } }

@media (min-width: 900px) {
  .photo::before { animation: settle 2.4s cubic-bezier(.2, .8, .2, 1) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .photo *, .photo::before { animation: none !important; transition: none !important; }
  .headline .crave path { stroke-dashoffset: 0; }
}

/* Inner pages (privacy, terms, support): the home page's look. A photo
   fades into the cream behind the title, and each section is a card. */
header.site .wrap { max-width: 1080px; }
.page-hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 55%;
  background: center / cover no-repeat; animation: settle 2.4s cubic-bezier(.2, .8, .2, 1) backwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to right, var(--bg) 45%, rgba(252, 249, 248, .55) 70%, rgba(252, 249, 248, .25)),
  linear-gradient(to top, var(--bg) 0%, rgba(252, 249, 248, 0) 45%); }
.page-hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--soft);
  color: var(--green); font: 800 12px/1.4 Montserrat, sans-serif; letter-spacing: 2px; text-transform: uppercase;
  animation: wordUp .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.page-hero h1 { font-size: 52px; line-height: 1.08; margin: 18px 0 14px; letter-spacing: -1.5px; max-width: 620px; }
.page-hero .lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0;
  animation: wordUp .7s cubic-bezier(.2, .8, .2, 1) .55s backwards; }
.page-hero .meta { margin: 14px 0 0; animation: wordUp .7s cubic-bezier(.2, .8, .2, 1) .7s backwards; }

main.inner { padding: 8px 0 72px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.toc a { padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; transition: all .2s; }
.toc a:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.doc { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px;
  margin: 0 0 16px; box-shadow: var(--shadow); scroll-margin-top: 84px; }
.doc.intro { background: var(--soft); border-color: transparent; box-shadow: none; font-size: 17px; }
.doc.intro p { margin: 0; }
.doc h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 21px; }
.doc .num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--soft); color: var(--green); font: 800 13px/1 Montserrat, sans-serif; }
.doc p { margin: 0 0 10px; }
.doc p:last-child, .doc ul:last-child { margin-bottom: 0; }
.doc ul { list-style: none; padding: 0; margin: 0 0 10px; }
.doc li { position: relative; padding-left: 22px; margin: 8px 0; }
.doc li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: #2ecc71; }
.doc .card.note { margin: 4px 0 0; border-radius: 16px; }
.doc .card.note p:last-child { margin: 0; }

/* Support: contact tiles and questions that open. */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 22px; text-decoration: none;
  color: var(--ink); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
a.tile { background: var(--green); border-color: var(--green); color: #fff; }
a.tile:hover { transform: translateY(-2px); }
.tile .ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); }
a.tile .ic { background: rgba(255, 255, 255, .18); }
.tile svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
a.tile svg { stroke: #fff; }
.tile b { display: block; font: 700 17px/1.3 Montserrat, sans-serif; }
.tile small { font-size: 14px; opacity: .8; }
.faq-title { font-size: 24px; margin: 0 0 14px; }
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(28, 27, 27, .04); transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: rgba(0, 109, 55, .35); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 22px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); transition: transform .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--green); }
.plus::after { transform: rotate(90deg); transition: transform .3s; }
.qa[open] .plus { transform: rotate(180deg); }
.qa[open] .plus::after { transform: rotate(0); }
.answer { padding: 0 22px 18px; color: var(--muted); animation: wordUp .35s ease-out; }
.answer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .page-hero { padding: 44px 0 28px; }
  .hero-photo { width: 100%; opacity: .35; }
  .page-hero::after { background: linear-gradient(to top, var(--bg) 0%, rgba(252, 249, 248, .6) 60%, rgba(252, 249, 248, .4)); }
  .page-hero h1 { font-size: 36px; }
  .page-hero .lead { font-size: 17px; }
  .doc { padding: 22px 20px; border-radius: 20px; }
  .contact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .page-hero *, .answer { animation: none !important; }
}

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding: 24px 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  h1 { font-size: 27px; }
  .photo { min-height: 0; padding: 170px 0 24px; background-size: 150% auto; background-position: 10% 50%; }
  .glass { padding: 22px 20px; }
  .glass h1 { font-size: 27px; }
  header.site nav { gap: 12px; font-size: 13px; }
  .waitlist .row { flex-direction: column; }
}

/* Wide screens: the portrait photo would be cropped to a strip of wall,
   so it sits on the right at its own shape and fades into the page. */
@media (min-width: 900px) {
  .photo { background: none; min-height: min(72vh, 620px); align-items: flex-start; padding-top: 72px; }
  .photo::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 62%;
    background: url(hero.jpg) center 35% / cover no-repeat; }
  .photo::after { background:
      linear-gradient(to right, var(--bg) 38%, rgba(252, 249, 248, 0) 58%),
      linear-gradient(to top, var(--bg) 0%, rgba(252, 249, 248, 0) 25%); }
  .glass { background: none; box-shadow: none; border: 0; padding: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass h1 { font-size: 46px; }
  .glass p.lead { font-size: 19px; }
}
