/*
  BianCuisine website – landing pages (/ and /en/), loaded after styles.css.
  The phone and the feature cards recreate app screens in HTML/CSS; they use the app's palette
  and follow the colour scheme. Motion is CSS only and off with prefers-reduced-motion.
*/

:root {
  --sage: #DDE9D7;
  --forest: #356449;
  --olive: #696239;
  --chip: #F2D6CB;
  --glow-1: #D9E8D3;
  --glow-2: #F4D5C6;
  --badge-bg: #356449;
  --badge-ink: #F5EDDF;
  --protein: #356449;
  --carbs: #D9A441;
  --fat: #C97A62;
  --w-bg: #F5EDDF;
  --w-ink: #211B17;
  --w-muted: #675E56;
  --w-accent: #356449;
  --w-track: #E3D6C3;
  --stage-sage: radial-gradient(120% 90% at 8% 0%, #EDF4EA 0%, #D6E7D4 52%, #BDD8C1 100%);
  --stage-saffron: radial-gradient(120% 90% at 8% 0%, #FCEFD6 0%, #F4D9A6 52%, #EBC27E 100%);
  --stage-clay: radial-gradient(120% 90% at 8% 0%, #FAE8DF 0%, #F1C9B8 52%, #E6A993 100%);
  --stage-ocean: radial-gradient(120% 90% at 8% 0%, #E8F2F4 0%, #C7E0E6 52%, #9DC9D4 100%);
  --stage-berry: radial-gradient(120% 90% at 8% 0%, #F9EAEF 0%, #EDCAD6 52%, #E0A8BB 100%);
  --stage-home: linear-gradient(160deg, #2E5A40 0%, #6A8B5D 50%, #D8B679 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --sage: #293A2E;
    --forest: #AECFB2;
    --olive: #D1C98A;
    --chip: #5A3528;
    --glow-1: #1E3124;
    --glow-2: #3A2620;
    --badge-bg: #AECFB2;
    --badge-ink: #151914;
    --protein: #AECFB2;
    --carbs: #E9BE72;
    --fat: #E3A08B;
    --w-bg: #251E1A;
    --w-ink: #F5EDDF;
    --w-muted: #BCB2A6;
    --w-accent: #AECFB2;
    --w-track: #3D342D;
    --stage-sage: radial-gradient(120% 90% at 8% 0%, #26372B 0%, #1D2A21 55%, #182019 100%);
    --stage-saffron: radial-gradient(120% 90% at 8% 0%, #3B2F1B 0%, #2B2216 55%, #211A12 100%);
    --stage-clay: radial-gradient(120% 90% at 8% 0%, #3C261F 0%, #2C1D18 55%, #221612 100%);
    --stage-ocean: radial-gradient(120% 90% at 8% 0%, #1E3338 0%, #182729 55%, #121D1F 100%);
    --stage-berry: radial-gradient(120% 90% at 8% 0%, #38242D 0%, #291B21 55%, #201519 100%);
    --stage-home: linear-gradient(160deg, #1B3225 0%, #34503E 50%, #6B5530 100%);
  }
}

.home {
  overflow-x: clip;
}

.hero,
.feature,
.stage,
.plan,
.journal,
.faq-grid,
.plus-panel,
.plus-lists {
  grid-template-columns: minmax(0, 1fr);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dish {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* Header */

.topnav {
  display: none;
  gap: 30px;
  margin-left: auto;
}

.topnav a {
  padding-block: 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.topnav a:hover {
  color: var(--accent);
}

@media (min-width: 760px) {
  .topnav {
    display: flex;
  }

  .topnav + .lang-switch {
    margin-left: 12px;
  }
}

/* Shared type */

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.125rem, 1.35rem + 3.3vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1875rem;
}

.badge {
  display: inline-block;
  padding: 1px 9px 2px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  vertical-align: 0.1em;
}

/* Hero */

.hero {
  display: grid;
  gap: 56px;
  align-items: center;
  padding-block: clamp(24px, 5vw, 56px) clamp(88px, 11vw, 144px);
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 1rem + 4.6vw, 5rem);
  }
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 27ch;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.4;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store {
  display: grid;
  min-width: 170px;
  padding: 10px 22px 12px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--bg);
  line-height: 1.2;
}

.store small {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.store b {
  font-family: var(--display);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2% 0 0;
  background:
    radial-gradient(closest-side at 38% 42%, var(--glow-1), transparent),
    radial-gradient(closest-side at 68% 70%, var(--glow-2), transparent);
}

/* Phone with the Today screen. Everything inside scales with the phone width (1em = 1/26). */

.phone {
  position: relative;
  width: min(100%, 340px);
  padding: 10px;
  border-radius: 56px;
  background: #1E1B19;
  box-shadow:
    inset 0 0 0 1.5px #4A4440,
    inset 0 0 0 6px #121010,
    0 14px 30px -14px rgb(33 27 23 / 0.35),
    0 60px 90px -40px rgb(33 27 23 / 0.5);
  container-type: inline-size;
}

.screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 46px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  font-size: calc(100cqw / 26);
  line-height: 1.3;
}

:where(.screen) p {
  margin: 0;
}

.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.3em;
  padding: 0.5em 2.2em 0 2.7em;
  font-weight: 600;
}

.ph-status::before {
  content: "";
  position: absolute;
  top: 1.1em;
  left: 50%;
  width: 8.4em;
  height: 2.5em;
  margin-left: -4.2em;
  border-radius: 2em;
  background: #0B0A09;
}

.ph-sys {
  width: 5.2em;
  height: 1.15em;
  fill: currentColor;
}

.ph-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  padding: 0.6em 1.33em 1.25em;
}

.ph-date {
  margin-bottom: 0.45em;
  color: var(--muted);
  font-size: 0.87em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ph-greet {
  font-family: var(--display);
  font-size: 2.27em;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ph-avatar {
  display: grid;
  place-items: center;
  width: 2.8em;
  height: 2.8em;
  margin-left: auto;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-weight: 600;
}

.ph-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.53em;
  padding: 0 1.33em 1.4em;
}

.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.95em 0.5em 0.65em;
  border: 1px solid var(--line);
  border-radius: 2em;
  background: var(--warm);
  font-size: 0.93em;
  font-weight: 600;
  white-space: nowrap;
}

.ph-pill .i {
  width: 1.3em;
  height: 1.3em;
  color: var(--olive);
}

.ring {
  width: 1.3em;
  height: 1.3em;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 3.2;
}

.ring .track {
  stroke: var(--sand);
}

.ring .fill {
  stroke: var(--accent);
  stroke-dasharray: 28.8 46.5;
  stroke-linecap: round;
}

.ph-cards {
  display: flex;
  gap: 1.33em;
  padding-left: 1.33em;
}

.ph-card {
  position: relative;
  flex: none;
  width: 21em;
  height: 16.8em;
  overflow: hidden;
  border-radius: 1.87em;
  background: radial-gradient(130% 110% at 78% 12%, #F4CB8C 0%, #D98B50 45%, #7A3F2E 100%);
  color: #fff;
}

.ph-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0) 28%, rgb(0 0 0 / 0.35) 55%, rgb(0 0 0 / 0.8) 100%);
}

.ph-art {
  position: absolute;
  top: -4.4em;
  right: -4em;
  width: 21em;
  transform: rotate(-10deg);
}

.ph-card.next {
  background: radial-gradient(120% 110% at 20% 20%, #EEF4EA 0%, #BCD8C0 100%);
}

.ph-card.next .ph-art {
  top: 1.5em;
  left: 0.6em;
  width: 15em;
}

.ph-card.next::after {
  content: none;
}

.ph-card-text {
  position: absolute;
  z-index: 1;
  right: 5.4em;
  bottom: 1.33em;
  left: 1.33em;
}

.ph-kicker {
  margin-bottom: 0.45em;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.87em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ph-title {
  font-family: var(--display);
  font-size: 1.87em;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.ph-meta {
  margin-top: 0.55em;
  color: rgb(255 255 255 / 0.85);
}

.ph-play {
  position: absolute;
  z-index: 1;
  right: 1.07em;
  bottom: 1.2em;
  display: grid;
  place-items: center;
  width: 3.33em;
  height: 3.33em;
  border-radius: 50%;
  background: #fff;
  color: #8A4F3D;
  box-shadow: 0 0.2em 0.6em rgb(0 0 0 / 0.25);
}

.ph-play .i {
  width: 1.9em;
  height: 1.9em;
}

.ph-dots {
  display: flex;
  justify-content: center;
  gap: 0.4em;
  padding: 0.85em 0 1.5em;
}

.ph-dots i {
  width: 0.4em;
  height: 0.4em;
  border-radius: 0.2em;
  background: var(--outline);
}

.ph-dots i:first-child {
  width: 1.33em;
  background: var(--accent);
}

.ph-block {
  margin: 0 1.11em 0.55em;
  font-size: 1.2em;
  font-weight: 600;
}

.ph-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.67em;
  margin: 0 1.33em 1.5em;
}

.ph-quick span {
  display: grid;
  justify-items: center;
  gap: 0.5em;
  padding: 1.05em 0.3em;
  border: 1px solid var(--line);
  border-radius: 1.47em;
  background: var(--paper);
  font-weight: 600;
}

.ph-quick .i {
  width: 1.87em;
  height: 1.87em;
  color: var(--accent);
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin: 0 1.33em;
  padding: 0.6em;
  border: 1px solid var(--line);
  border-radius: 1.47em;
  background: var(--paper);
  font-weight: 600;
}

.ph-row .dish {
  width: 3.6em;
}

.ph-row small {
  display: block;
  color: var(--muted);
  font-size: 0.87em;
}

.ph-nav {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.5em 0.5em 2.4em;
  border-top: 1px solid var(--line);
  border-radius: 1.6em 1.6em 0 0;
  background: var(--paper);
  box-shadow: 0 -0.3em 1.4em rgb(33 27 23 / 0.08);
}

.ph-nav span {
  display: grid;
  justify-items: center;
  gap: 0.25em;
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 600;
}

.ph-nav b {
  display: grid;
  place-items: center;
  width: 3.8em;
  height: 2.35em;
  border-radius: 1.2em;
}

.ph-nav .i {
  width: 2em;
  height: 2em;
}

.ph-nav .on {
  color: var(--accent);
}

.ph-nav .on b {
  background: rgb(227 160 139 / 0.45);
}

.ph-nav::after {
  content: "";
  position: absolute;
  bottom: 0.7em;
  left: 50%;
  width: 9.6em;
  height: 0.36em;
  margin-left: -4.8em;
  border-radius: 1em;
  background: var(--ink);
}

/* Features */

.features {
  padding-block: clamp(24px, 4vw, 48px) 0;
}

.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: clamp(36px, 6vw, 72px);
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 96px);
  }

  .feature:nth-of-type(even) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .feature:nth-of-type(even) .feature-copy {
    order: 2;
  }
}

.feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.875rem, 1.3rem + 2.1vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.feature-copy p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.feature-copy .note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px);
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--stage);
  isolation: isolate;
}

.stage-sage { --stage: var(--stage-sage); }
.stage-saffron { --stage: var(--stage-saffron); }
.stage-clay { --stage: var(--stage-clay); }
.stage-ocean { --stage: var(--stage-ocean); }
.stage-berry { --stage: var(--stage-berry); }
.stage-home { --stage: var(--stage-home); }

/* App card look shared by the feature widgets */

.ui {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 0.9375rem;
  line-height: 1.35;
}

:where(.ui) p {
  margin: 0;
}

.ui-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.chip {
  display: inline-flex;
  color: var(--ink);
  align-items: center;
  flex: none;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--warm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip.on {
  border-color: transparent;
  background: var(--chip);
}

.label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn.ghost {
  border: 1px solid var(--outline);
}

.btn.solid {
  background: var(--accent);
  color: var(--on-accent);
}

.art-saffron { --art: radial-gradient(circle at 30% 25%, #FCE6BA, #EFC47F 60%, #E0A652); }
.art-sage { --art: radial-gradient(circle at 30% 25%, #F0F5EC, #CFE2CD 60%, #A9CBAE); }
.art-clay { --art: radial-gradient(circle at 30% 25%, #F9E0D5, #EDB9A5 60%, #DD967E); }
.art-ocean { --art: radial-gradient(circle at 30% 25%, #E6F1F3, #BFDCE3 60%, #8FC0CC); }

/* Cookbook */

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--warm);
  color: var(--muted);
}

.search .i {
  width: 20px;
  height: 20px;
}

.recipes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-top: 16px;
}

.recipe b {
  display: block;
  line-height: 1.25;
}

.recipe small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.recipe-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.8;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--art);
}

.recipe-art .dish,
.post-art .dish,
.est-photo .dish {
  filter: drop-shadow(0 6px 8px rgb(33 27 23 / 0.28));
}

.recipe-art .dish {
  width: 70%;
}

.fav {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(255 252 247 / 0.92);
  color: #8A4F3D;
}

.fav .i {
  width: 17px;
  height: 17px;
}

/* Cooking mode */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 14px 0 18px;
}

.steps i {
  height: 5px;
  border-radius: 3px;
  background: var(--sand);
}

.steps .done {
  background: var(--accent);
}

.cook-text {
  margin: 6px 0 20px;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.timer {
  position: relative;
  display: grid;
  place-items: center;
  width: min(210px, 70%);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  view-timeline: --timer;
}

.timer svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer circle {
  fill: none;
  stroke-width: 8;
}

.timer .track {
  stroke: var(--sand);
}

.timer .fill {
  stroke: var(--accent);
  stroke-dasharray: 240.5 326.7;
  stroke-linecap: round;
}

.timer p {
  display: grid;
  justify-items: center;
  text-align: center;
}

.timer small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.timer b {
  font-family: var(--display);
  font-size: 3.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cook-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

/* Week plan and shopping list */

.plan {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 580px;
}

@media (min-width: 640px) {
  .plan {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .plan .shop {
    margin-top: 64px;
  }
}

.avatars {
  display: flex;
  padding-left: 6px;
}

.avatars i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -6px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}

.avatars i + i {
  background: var(--chip);
  color: var(--ink);
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 12px 0 14px;
  text-align: center;
}

.days span {
  display: grid;
  padding: 6px 0;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.days small {
  color: var(--muted);
  font-size: 0.6875rem;
}

.days .on {
  background: var(--accent);
  color: var(--on-accent);
}

.days .on small {
  color: inherit;
}

.meal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  background: var(--warm);
}

.meal + .meal {
  margin-top: 8px;
}

.meal .dish {
  width: 46px;
}

.meal b {
  display: block;
  font-weight: 600;
}

.shop ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop .label {
  display: block;
  margin: 14px 0 2px;
}

.shop li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.shop li:last-child {
  border-bottom: 0;
}

.shop li i {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.shop li small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8125rem;
}

.shop .got {
  color: var(--muted);
  text-decoration: line-through;
}

.shop .got i {
  border-color: var(--forest);
  background: var(--forest);
}

.shop .got i::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  margin: 1px auto 0;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Journal and photo estimate */

.journal {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

@media (min-width: 640px) {
  .journal {
    grid-template-columns: 0.85fr 1fr;
    align-items: center;
  }
}

.day-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  margin: 14px auto 16px;
}

.day-ring .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.day-ring .ring circle {
  stroke-width: 2.4;
}

.day-ring p {
  display: grid;
  text-align: center;
}

.day-ring b {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
}

.day-ring small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.day-meals {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.day-meals li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.day-meals span {
  color: var(--muted);
}

.est-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin: -6px -6px 14px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, #7E8F76 0%, #45554A 55%, #26302A 100%);
}

.est-photo .dish {
  width: 56%;
}

.est-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgb(221 233 215 / 0.55) 50%, transparent 56%);
}

.est-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.est-label .i {
  width: 16px;
  height: 16px;
}

.est-label .badge {
  margin-left: auto;
  text-transform: none;
}

.est-name {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.est-kcal {
  margin: 2px 0 14px;
  color: var(--muted);
}

.est-kcal b {
  color: var(--ink);
  font-size: 1.25rem;
}

.macros {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.macro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  font-size: 0.875rem;
}

.macro i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--m) var(--w), var(--sand) 0);
}

.m1 { --m: var(--protein); --w: 34%; }
.m2 { --m: var(--carbs); --w: 72%; }
.m3 { --m: var(--fat); --w: 40%; }

/* Discover */

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 14px;
  background: var(--warm);
}

.tabs span {
  flex: 1;
  padding: 7px 0;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.tabs .on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(33 27 23 / 0.14);
}

.langs {
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
}

.langs .i {
  width: 20px;
  height: 20px;
}

.feed {
  display: grid;
  gap: 12px;
}

.post {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--warm);
}

.post-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--art);
}

.post-art .dish {
  width: 82%;
}

.post b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1.15;
}

.by {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.by i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
}

.likes {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding-right: 6px;
  color: var(--accent);
  font-weight: 600;
}

.likes .i {
  width: 15px;
  height: 15px;
}

/* Home-screen widgets (as in ios/BianCuisineWidgets) */

.homescreen {
  display: grid;
  grid-template-columns: repeat(4, 62px);
  grid-auto-rows: 62px;
  gap: 26px 18px;
  justify-content: center;
}

.w {
  padding: 14px 15px;
  border-radius: 22px;
  background: var(--w-bg);
  color: var(--w-ink);
  box-shadow: 0 14px 28px -14px rgb(0 0 0 / 0.5);
  font-size: 13px;
  line-height: 1.25;
}

:where(.w) p {
  margin: 0;
}

.w-medium {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  grid-column: 1 / -1;
  grid-row: span 2;
  gap: 16px;
}

.w-small {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  grid-row: span 2;
}

.w-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.w-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--w-muted);
  font-weight: 600;
}

.w-head svg {
  width: 15px;
  height: 15px;
  fill: var(--w-accent);
}

.w-value {
  margin-top: auto;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.05;
}

.w-muted {
  color: var(--w-muted);
}

.w-line {
  height: 6px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--w-accent) 62%, var(--w-track) 0);
}

.w-rule {
  background: var(--w-track);
}

.w-next {
  color: var(--w-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.w-title {
  margin-top: auto;
  font-family: var(--display);
  font-size: 17px;
}

.w-sum {
  font-family: var(--display);
  font-size: 20px;
}

.w-small ul {
  display: grid;
  gap: 5px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.w-small li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.w-small li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--w-accent);
  border-radius: 50%;
}

.app {
  position: relative;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.24);
}

.app.bc {
  display: grid;
  place-items: center;
  background: #F5EDDF;
  box-shadow: 0 10px 20px -12px rgb(0 0 0 / 0.5);
}

.app.bc svg {
  width: 42px;
  height: 38px;
  fill: #356449;
}

.app.bc span {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.4);
  transform: translateX(-50%);
}

/* Plus */

.plus {
  padding-block: clamp(40px, 6vw, 80px);
}

.plus-panel {
  display: grid;
  gap: 36px;
  padding: clamp(28px, 5.5vw, 72px);
  border-radius: clamp(28px, 4vw, 44px);
  background: radial-gradient(120% 100% at 100% 0%, #336A4C 0%, #244B36 55%, #1B3A2A 100%);
  color: #F5EDDF;
}

@media (min-width: 960px) {
  .plus-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px 72px;
  }

  .plus-offer {
    align-self: end;
  }

  .plus-lists,
  .plus-notes {
    grid-column: 1 / -1;
  }
}

.plus-panel .kicker,
.plus-lists h3 {
  color: #AECFB2;
}

.plus-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(2.125rem, 1.35rem + 3.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.plus-panel p {
  margin: 0;
  color: rgb(245 237 223 / 0.82);
  font-size: 1.125rem;
}

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.plus-panel .price {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 18px 18px 16px;
  border: 1px solid rgb(245 237 223 / 0.22);
  border-radius: 22px;
  background: rgb(245 237 223 / 0.06);
  color: #F5EDDF;
}

.price span {
  color: rgb(245 237 223 / 0.8);
  font-size: 0.875rem;
  font-weight: 600;
}

.price b {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.375rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.price small {
  color: rgb(245 237 223 / 0.78);
  font-size: 0.875rem;
}

.plus-panel .best {
  border-color: transparent;
  background: #F5EDDF;
  color: #211B17;
}

.best span,
.best small {
  color: #675E56;
}

.save {
  display: inline-block;
  margin-left: 4px;
  padding: 0 8px;
  border-radius: 999px;
  background: #356449;
  color: #F5EDDF;
  font-size: 0.75rem;
  font-style: normal;
}

.plus-panel .trial {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F5EDDF;
  font-size: 1rem;
  font-weight: 600;
}

.trial .i {
  width: 20px;
  height: 20px;
  color: #E9BE72;
}

.plus-lists {
  display: grid;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgb(245 237 223 / 0.18);
}

@media (min-width: 640px) {
  .plus-lists {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 960px) {
  .plus-lists {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 72px;
  }

  .plus-lists .more ul {
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: 32px;
  }
}

.plus-lists h3 {
  margin: 0 0 14px;
  font-family: var(--text);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plus-lists ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plus-lists li {
  display: flex;
  gap: 12px;
  line-height: 1.35;
}

.plus-lists li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 11px;
  margin: 2px 6px 0 5px;
  border: solid #AECFB2;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plus-lists .more li::before {
  width: 14px;
  height: 14px;
  margin: 2px 2px 0 1px;
  border: 0;
  background: #E9BE72;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transform: none;
}

.plus-notes {
  display: grid;
  gap: 6px;
}

.plus-panel .plus-notes p {
  font-size: 1rem;
}

.plus-panel .plus-notes .fine {
  color: rgb(245 237 223 / 0.72);
  font-size: 0.875rem;
}

/* FAQ */

.faq {
  padding-block: clamp(56px, 8vw, 112px);
}

.faq-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
  }

  .faq .section-head {
    position: sticky;
    top: 32px;
    align-self: start;
  }
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 22px;
  border-radius: 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat,
    var(--tint);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Closing */

.closing {
  padding-block: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px);
  text-align: center;
}

.closing .wrap {
  display: grid;
  justify-items: center;
}

.closing-mark {
  width: 60px;
  height: 56px;
  margin-bottom: 20px;
  fill: var(--mark);
}

.closing h2 {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.closing p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.1875rem;
}

.closing .stores {
  justify-content: center;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .phone {
    animation:
      rise 1.1s cubic-bezier(0.2, 0.75, 0.25, 1) both,
      float 8s ease-in-out 1.2s infinite alternate;
  }

  .ph-pill .fill {
    animation: ring 1.4s cubic-bezier(0.2, 0.75, 0.25, 1) 0.7s both;
  }

  .ph-card:first-child .ph-art {
    animation: drift 16s ease-in-out infinite alternate;
  }

  .est-scan {
    animation: scan 3.2s ease-in-out infinite alternate;
  }

  .faq summary::after {
    transition: transform 0.25s ease;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }

    .timer .fill {
      animation: timer linear both;
      animation-timeline: --timer;
      animation-range: entry 40% cover 55%;
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
}

@keyframes float {
  to {
    translate: 0 -10px;
  }
}

@keyframes ring {
  from {
    stroke-dasharray: 0 46.5;
  }
}

@keyframes drift {
  to {
    transform: rotate(-5deg) scale(1.08) translate(-4%, 3%);
  }
}

@keyframes scan {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(50%);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 48px;
  }
}

@keyframes timer {
  from {
    stroke-dasharray: 326.7 326.7;
  }
}

@media print {
  .hero-visual,
  .stage {
    display: none;
  }

  .reveal {
    animation: none;
  }
}
