:root {
  color-scheme: light;
  --green: #00a046;
  --green-deep: #075c2d;
  --green-ink: #064a26;
  --lime: #b9f6cf;
  --orange: #ff7454;
  --amber: #ffb800;
  --ink: #101412;
  --muted: #68716b;
  --background: #f0f1ee;
  --surface: rgba(255, 255, 255, 0.94);
  --line: rgba(16, 20, 18, 0.07);
  --line-strong: rgba(16, 20, 18, 0.12);
  --shadow: 0 24px 60px rgba(23, 37, 29, 0.08);
  --shadow-soft: 0 14px 34px rgba(23, 37, 29, 0.055);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 15px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(0, 160, 70, 0.095), transparent 25rem),
    radial-gradient(circle at 0 42%, rgba(255, 184, 0, 0.06), transparent 24rem),
    var(--background);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.page-shell {
  min-height: 100dvh;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.surface-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8bffb6;
  box-shadow: 0 0 0 5px rgba(139, 255, 182, 0.12);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 17px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.ration-pill:focus-visible,
.meal-tab:focus-visible,
.category-tab:focus-visible,
.carousel-controls button:focus-visible,
.dialog-close:focus-visible,
.mobile-download-button:focus-visible,
.site-footer button:focus-visible,
.faq-item summary:focus-visible {
  outline: 3px solid rgba(0, 160, 70, 0.3);
  outline-offset: 3px;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 15px 30px rgba(0, 122, 55, 0.2);
}

.button--primary:hover {
  box-shadow: 0 19px 36px rgba(0, 122, 55, 0.26);
}

.button--quiet {
  border-color: var(--line);
  background: rgba(16, 20, 18, 0.035);
}

.button--light {
  color: var(--green-ink);
  background: #fff;
  box-shadow: 0 17px 34px rgba(0, 45, 22, 0.16);
}

.button--glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.button--compact {
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 15px;
  font-size: 0.88rem;
}

.button--large {
  min-height: 56px;
  padding-inline: 24px;
  border-radius: 18px;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  padding-top: 14px;
}

.header-panel {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 16px;
  border-radius: 23px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.brand__logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 122, 55, 0.2);
}

.brand__copy strong,
.brand__copy span {
  display: block;
}

.brand__copy strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand__copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: #444c47;
  font-size: 0.86rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.header-nav a:hover {
  color: var(--green-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-section {
  padding-top: 18px;
}

.hero-card {
  position: relative;
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.82fr);
  align-items: center;
  gap: 54px;
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 91% 8%, rgba(174, 255, 203, 0.24), transparent 19rem),
    radial-gradient(circle at 15% 110%, rgba(255, 184, 0, 0.14), transparent 24rem),
    linear-gradient(135deg, #00a046 0%, #0a6e37 52%, #064923 100%);
  box-shadow: 0 30px 75px rgba(0, 100, 46, 0.2);
}

.hero-card::before {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  inset: -150px -90px auto auto;
}

.hero-copy,
.app-showcase {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: clamp(2.55rem, 4.9vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy__lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof b {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-ink);
  background: #aaffc8;
  font-size: 0.68rem;
}

.app-showcase {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  color: var(--ink);
  background: rgba(250, 252, 249, 0.96);
  box-shadow: 0 32px 70px rgba(0, 45, 22, 0.24);
  transform: rotate(1.2deg);
}

.app-showcase__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-showcase__top strong,
.app-showcase__caption {
  display: block;
}

.app-showcase__top strong {
  margin-top: 4px;
  font-size: 1.05rem;
}

.app-showcase__caption {
  color: var(--muted);
  font-size: 0.74rem;
}

.live-pill {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(0, 160, 70, 0.1);
  font-size: 0.72rem;
  font-weight: 750;
}

.showcase-meal {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 15px;
  margin-top: 18px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(15, 36, 23, 0.07);
}

.showcase-meal__visual {
  position: relative;
  display: flex;
  min-height: 128px;
  align-items: flex-end;
  padding: 12px;
  overflow: hidden;
  border-radius: 17px;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 231, 157, 0.9) 0 18%, transparent 19%),
    radial-gradient(circle at 38% 58%, #ff805e 0 20%, transparent 21%),
    radial-gradient(circle at 68% 68%, #5acb7d 0 22%, transparent 23%),
    linear-gradient(135deg, #eee2c6, #d5eddb);
  background-position: center;
  background-size: cover;
}

.showcase-meal__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.48) 48%, transparent 76%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.showcase-meal__visual--loading::before {
  opacity: 1;
  animation: skeleton-sweep 1.35s infinite ease-in-out;
}

.showcase-meal__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.48));
  content: "";
}

.showcase-meal__visual span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
}

.showcase-meal__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.showcase-meal__copy > span {
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.showcase-meal__copy strong {
  margin-top: 7px;
  font-size: 1rem;
  line-height: 1.32;
}

.mini-macros {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.mini-macros span {
  padding: 5px 7px;
  border-radius: 8px;
  color: #5e6862;
  background: #f1f3f0;
  font-size: 0.63rem;
  font-weight: 650;
}

.showcase-row {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10px;
  margin-top: 10px;
}

.showcase-stat {
  padding: 15px;
  border-radius: 18px;
  background: #eef2ed;
}

.showcase-stat--accent {
  background: rgba(0, 160, 70, 0.1);
}

.showcase-stat span,
.showcase-stat strong {
  display: block;
}

.showcase-stat span {
  color: var(--muted);
  font-size: 0.67rem;
}

.showcase-stat strong {
  margin-top: 5px;
  font-size: 0.9rem;
}

.inline-skeleton {
  display: inline-block !important;
  background: linear-gradient(90deg, #dde3dd 25%, #f5f7f4 50%, #dde3dd 75%);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite linear;
}

.inline-skeleton--count {
  width: 28px;
  height: 15px;
  border-radius: 7px;
}

.showcase-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 17px;
  color: #fff;
  background: #151a17;
  font-size: 0.72rem;
  font-weight: 650;
}

.showcase-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  font-weight: 800;
}

.preview-section,
.benefits-section,
.closing-section,
.faq-section {
  padding-top: 92px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 11px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-wrap: balance;
}

.section-heading p {
  max-width: 670px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  align-items: end;
  gap: 42px;
}

.section-heading--compact h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.demo-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 160, 70, 0.12);
  border-radius: 18px;
  color: #47524b;
  background: rgba(0, 160, 70, 0.065);
  font-size: 0.83rem;
  line-height: 1.55;
}

.demo-disclaimer > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.demo-load-fallback {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.builder-card {
  margin-top: 24px;
  padding: 24px;
  overflow: hidden;
  border-radius: 30px;
}

.builder-card__top,
.meal-browser__head,
.extras-browser__head,
.builder-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.builder-card__top > div,
.meal-browser__head > div:first-child,
.extras-browser__head > div:first-child {
  display: grid;
  gap: 4px;
}

.builder-card__top strong,
.meal-browser__head strong,
.extras-browser__head strong {
  font-size: 1.08rem;
}

.builder-label,
.ration-overview__caption {
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.builder-status {
  padding: 7px 11px;
  border-radius: 999px;
  color: #69736d;
  background: #f0f2ef;
  font-size: 0.72rem;
  font-weight: 650;
}

.builder-status--ready {
  color: var(--green-deep);
  background: rgba(0, 160, 70, 0.09);
}

.builder-status--error {
  color: #9b3d28;
  background: rgba(255, 116, 84, 0.12);
}

.ration-picker,
.meal-tabs,
.extra-categories {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ration-picker::-webkit-scrollbar,
.meal-tabs::-webkit-scrollbar,
.extra-categories::-webkit-scrollbar,
.dish-viewport::-webkit-scrollbar,
.extra-viewport::-webkit-scrollbar {
  display: none;
}

.ration-picker {
  margin-top: 16px;
  padding: 2px 2px 5px;
}

.ration-pill,
.meal-tab,
.category-tab {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  cursor: pointer;
  color: #4d5751;
  background: #f5f6f4;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ration-pill {
  position: relative;
  display: grid;
  min-width: 170px;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 17px;
  text-align: left;
}

.ration-pill--loading {
  padding-right: 42px;
}

.ration-pill--loading::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
  animation: loader-spin 700ms infinite linear;
}

.ration-pill strong {
  color: inherit;
  font-size: 0.9rem;
}

.ration-pill span {
  color: #7a827d;
  font-size: 0.68rem;
}

.ration-pill--active,
.meal-tab--active,
.category-tab--active {
  border-color: var(--green);
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 12px 25px rgba(0, 126, 57, 0.16);
}

.ration-pill--active span {
  color: rgba(255, 255, 255, 0.72);
}

.skeleton-pill {
  width: 176px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 17px;
  background: linear-gradient(90deg, #edf0ec 25%, #f7f8f6 50%, #edf0ec 75%);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite linear;
}

.skeleton-chip {
  width: 82px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(90deg, #e8ebe7 25%, #f8f9f7 50%, #e8ebe7 75%);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite linear;
}

.skeleton-chip--wide {
  width: 112px;
}

.skeleton-line {
  display: block;
  border-radius: 7px;
  background: linear-gradient(90deg, #e6eae5 25%, #f7f8f6 50%, #e6eae5 75%);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite linear;
}

.skeleton-line--dark {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.19) 50%, rgba(255, 255, 255, 0.08) 75%);
}

.skeleton-line--caption {
  width: 92px;
  height: 9px;
}

.skeleton-line--title {
  width: min(72%, 250px);
  height: 22px;
  margin-top: 10px;
}

.skeleton-line--copy {
  width: min(92%, 430px);
  height: 11px;
  margin-top: 11px;
}

.ration-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 14px;
  padding: 20px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 0, rgba(185, 246, 207, 0.18), transparent 14rem),
    #171c19;
}

.ration-overview__caption {
  color: #8ff6b4;
}

.ration-overview h3 {
  margin: 7px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.ration-overview p {
  max-width: 600px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.55;
}

.nutrition-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 8px;
}

.nutrition-row > span {
  min-width: 68px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.nutrition-row small,
.nutrition-row b {
  display: block;
}

.nutrition-row small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.61rem;
}

.nutrition-row b {
  margin-top: 4px;
  font-size: 0.82rem;
}

.nutrition-row--loading > span {
  height: 51px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite linear;
}

.meal-browser,
.extras-browser {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f7f8f6;
}

.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.carousel-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  background: #fff;
  font-size: 1rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.carousel-controls button:hover {
  border-color: rgba(0, 160, 70, 0.25);
  transform: translateY(-1px);
}

.carousel-controls button:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.meal-tabs,
.extra-categories {
  margin-top: 15px;
}

.meal-tab,
.category-tab {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.76rem;
}

.dish-viewport,
.extra-viewport {
  margin-top: 13px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dish-track,
.extra-track {
  display: grid;
  width: max-content;
  max-width: none;
  grid-auto-flow: column;
  gap: 12px;
}

.dish-track {
  grid-auto-columns: minmax(235px, 260px);
}

.extra-track {
  grid-auto-columns: minmax(205px, 228px);
}

.dish-card,
.extra-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 25px rgba(23, 37, 29, 0.045);
}

.dish-card {
  border-radius: 20px;
}

.dish-card__media,
.extra-card__media {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 218, 124, 0.85) 0 14%, transparent 15%),
    radial-gradient(circle at 40% 55%, rgba(255, 116, 84, 0.92) 0 19%, transparent 20%),
    radial-gradient(circle at 70% 68%, rgba(0, 160, 70, 0.75) 0 21%, transparent 22%),
    #dbe8dc;
}

.dish-card__media {
  aspect-ratio: 16 / 10;
}

.extra-card__media {
  aspect-ratio: 16 / 9;
}

.dish-card__media img,
.extra-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-dish-media] img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 240ms ease;
}

[data-dish-media].media-is-loaded img {
  opacity: 1;
}

[data-dish-media].media-is-loading::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(100deg, rgba(225, 231, 225, 0.82) 20%, rgba(250, 252, 249, 0.96) 48%, rgba(225, 231, 225, 0.82) 76%);
  content: "";
  pointer-events: none;
  transform: translateX(-100%);
  animation: skeleton-sweep 1.35s infinite ease-in-out;
}

[data-dish-media] .media-fallback {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 180ms ease;
}

[data-dish-media].media-is-error .media-fallback {
  opacity: 1;
}

.dish-card__placeholder,
.extra-card__placeholder {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: rgba(0, 74, 34, 0.24);
  backdrop-filter: blur(8px);
  font-size: 1rem;
  font-weight: 800;
}

.dish-card__body {
  padding: 15px;
}

.dish-card__category,
.extra-card__category {
  color: var(--green-deep);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.dish-card h4,
.extra-card h4 {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  font-size: 0.93rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dish-card__meta,
.extra-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.dish-card__meta span,
.extra-card__meta span {
  padding: 5px 7px;
  border-radius: 8px;
  color: #616b65;
  background: #f0f2ef;
  font-size: 0.62rem;
  font-weight: 650;
}

.dish-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.dish-card__footer span {
  color: var(--muted);
  font-size: 0.68rem;
}

.dish-card__footer strong {
  color: var(--green-deep);
  font-size: 0.77rem;
}

.loading-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(#e8ebe7, #e8ebe7) 15px calc(100% - 72px) / 66% 11px no-repeat,
    linear-gradient(#eff1ee, #eff1ee) 15px calc(100% - 48px) / 84% 9px no-repeat,
    linear-gradient(#eff1ee, #eff1ee) 15px calc(100% - 25px) / 48% 9px no-repeat,
    #fff;
  box-shadow: 0 10px 25px rgba(23, 37, 29, 0.035);
}

.loading-card::before {
  position: absolute;
  inset: 0 0 auto;
  background: #e4e9e3;
  content: "";
}

.loading-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.78) 48%, transparent 76%);
  content: "";
  transform: translateX(-100%);
  animation: skeleton-sweep 1.35s infinite ease-in-out;
}

.loading-card--dish {
  height: 270px;
  border-radius: 20px;
}

.loading-card--dish::before {
  height: 156px;
}

.loading-card--extra {
  height: 238px;
  border-radius: 18px;
}

.loading-card--extra::before {
  height: 128px;
}

.extras-browser__head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.extra-card {
  border-radius: 18px;
}

.extra-card__body {
  padding: 13px;
}

.extra-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  font-size: 0.72rem;
}

.extra-card__price span {
  color: var(--muted);
}

.extra-card__price strong {
  font-size: 0.82rem;
}

.empty-catalog {
  width: min(100%, 620px);
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.55;
}

.empty-catalog strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.empty-catalog span {
  display: block;
}

.empty-catalog__action {
  min-height: 38px;
  margin-top: 13px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 750;
}

.builder-card__footer {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(0, 160, 70, 0.065);
}

.builder-card__footer > div {
  display: grid;
  gap: 4px;
}

.builder-card__footer strong {
  font-size: 0.94rem;
}

.builder-card__footer span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 22px;
}

.benefit-card {
  min-height: 205px;
  padding: 22px;
  border-radius: 24px;
}

.benefit-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--green-deep);
  background: rgba(0, 160, 70, 0.085);
  font-size: 0.72rem;
  font-weight: 800;
}

.benefit-card h3 {
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.benefit-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.closing-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 5vw, 52px);
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(185, 246, 207, 0.2), transparent 18rem),
    linear-gradient(135deg, #079849, #075c2d);
  box-shadow: 0 26px 65px rgba(0, 100, 46, 0.18);
}

.closing-card h2 {
  max-width: 650px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.closing-card p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.closing-card .button {
  flex: 0 0 auto;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.faq-item {
  overflow: hidden;
  border-radius: 20px;
}

.faq-item summary {
  position: relative;
  padding: 19px 56px 19px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 750;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: #f0f2ef;
  content: "+";
  font-size: 1rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 800px;
  margin: 0;
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  margin-top: 72px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--line-strong);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__brand img {
  border-radius: 12px;
}

.site-footer__brand strong,
.site-footer__brand span {
  display: block;
}

.site-footer__brand strong {
  font-size: 0.86rem;
}

.site-footer__brand span,
.site-footer__legal {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__links a,
.site-footer__links button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #4f5953;
  background: none;
  font-size: 0.72rem;
  font-weight: 700;
}

.mobile-download-button {
  display: none;
}

.download-dialog {
  width: min(calc(100% - 32px), 560px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: 0 40px 100px rgba(7, 31, 18, 0.28);
}

.download-dialog::backdrop {
  background: rgba(7, 17, 11, 0.64);
  backdrop-filter: blur(8px);
}

.download-dialog__inner {
  padding: 26px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  background: #f8faf7;
}

.download-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.download-dialog__head h2 {
  margin: 9px 0 0;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  letter-spacing: -0.04em;
}

.download-dialog__head p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.platform-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.platform-option {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.platform-option:hover {
  border-color: rgba(0, 160, 70, 0.24);
  box-shadow: 0 14px 28px rgba(23, 37, 29, 0.08);
  transform: translateY(-2px);
}

.platform-option--primary {
  border-color: rgba(0, 160, 70, 0.16);
  background: rgba(0, 160, 70, 0.06);
}

.platform-option--dark {
  color: #fff;
  border-color: #161b18;
  background: #161b18;
}

.platform-option--disabled {
  color: #777f7a;
  background: #eff1ee;
  opacity: 0.76;
}

.platform-option__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--green);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.platform-option--dark .platform-option__icon {
  color: #101412;
  background: #fff;
  font-size: 0.62rem;
}

.platform-option__icon--apple {
  color: #fff;
  background: #7c837f;
}

.platform-option__copy small,
.platform-option__copy strong {
  display: block;
}

.platform-option__copy small {
  color: var(--muted);
  font-size: 0.66rem;
}

.platform-option--dark .platform-option__copy small {
  color: rgba(255, 255, 255, 0.56);
}

.platform-option__copy strong {
  margin-top: 4px;
  font-size: 0.9rem;
}

.platform-option__action {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 160, 70, 0.1);
}

.platform-option--dark .platform-option__action {
  background: rgba(255, 255, 255, 0.1);
}

.soon-pill {
  padding: 7px 9px;
  border-radius: 9px;
  color: #6d746f;
  background: rgba(16, 20, 18, 0.06);
  font-size: 0.62rem;
  font-weight: 750;
}

.download-dialog__note {
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  max-width: min(380px, calc(100% - 40px));
  padding: 13px 15px;
  border-radius: 14px;
  pointer-events: none;
  color: #fff;
  background: #151a17;
  box-shadow: 0 18px 40px rgba(7, 31, 18, 0.25);
  font-size: 0.76rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes skeleton {
  to {
    background-position: -200% 0;
  }
}

@keyframes skeleton-sweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes loader-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@media (max-width: 1020px) {
  .header-nav {
    display: none;
  }

  .hero-card {
    grid-template-columns: 1fr 360px;
    gap: 30px;
    padding: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .demo-disclaimer {
    max-width: 620px;
  }

  .ration-overview {
    grid-template-columns: 1fr;
  }

  .nutrition-row {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    padding-top: 9px;
  }

  .header-panel {
    min-height: 64px;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 19px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__copy span {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .button {
    min-height: 42px;
    padding-inline: 13px;
  }

  .hero-section {
    padding-top: 12px;
  }

  .hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 29px 20px 22px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    margin-top: 16px;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    line-height: 1;
  }

  .hero-copy__lead {
    margin-top: 17px;
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    gap: 10px 15px;
    margin-top: 20px;
    font-size: 0.74rem;
  }

  .app-showcase {
    display: none;
  }

  .preview-section,
  .benefits-section,
  .closing-section,
  .faq-section {
    padding-top: 62px;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.65rem);
  }

  .section-heading p {
    font-size: 0.9rem;
  }

  .builder-card {
    margin-top: 18px;
    padding: 14px;
    border-radius: 25px;
  }

  .builder-card__top,
  .meal-browser__head,
  .extras-browser__head,
  .builder-card__footer {
    align-items: flex-start;
  }

  .builder-status {
    max-width: 45%;
    text-align: right;
  }

  .ration-pill {
    min-width: 156px;
  }

  .ration-overview {
    gap: 17px;
    padding: 17px;
  }

  .nutrition-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nutrition-row > span {
    min-width: 0;
  }

  .meal-browser,
  .extras-browser {
    padding: 15px;
    border-radius: 21px;
  }

  .dish-track {
    grid-auto-columns: minmax(230px, 78vw);
  }

  .extra-track {
    grid-auto-columns: minmax(205px, 70vw);
  }

  .builder-card__footer {
    display: grid;
    padding: 16px;
  }

  .builder-card__footer .button {
    width: 100%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    display: grid;
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 14px;
    padding: 18px;
  }

  .benefit-card__number {
    grid-row: 1 / span 2;
  }

  .benefit-card h3 {
    margin: 1px 0 0;
  }

  .benefit-card p {
    margin-top: 6px;
  }

  .closing-card {
    display: grid;
    min-height: auto;
    padding: 29px 20px;
    border-radius: 27px;
  }

  .closing-card .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 18px;
    margin-top: 54px;
    padding-bottom: 100px;
  }

  .site-footer__links {
    display: none;
  }

  .mobile-download-button {
    position: fixed;
    z-index: 35;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #00a046, #075c2d);
    box-shadow: 0 18px 38px rgba(0, 86, 39, 0.28);
    font-size: 0.9rem;
    font-weight: 800;
  }

  .download-dialog {
    width: 100%;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 28px 28px 0 0;
  }

  .download-dialog__inner {
    padding: 22px 16px max(20px, env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
  }

  .platform-option {
    min-height: 72px;
  }

  .toast {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .brand__copy strong {
    font-size: 0.88rem;
  }

  .header-actions .button--quiet {
    min-width: 66px;
    padding-inline: 10px;
  }

  .header-actions .button--primary {
    padding-inline: 11px;
  }

  .showcase-meal {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .showcase-meal__visual {
    min-height: 112px;
  }

  .showcase-meal__copy strong {
    font-size: 0.88rem;
  }

  .carousel-controls {
    display: none;
  }

  .builder-status {
    display: none;
  }

  .soon-pill {
    max-width: 78px;
    text-align: center;
  }
}

@media (hover: none) {
  .button:hover,
  a.platform-option:hover,
  .carousel-controls button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .inline-skeleton,
  .skeleton-pill,
  .skeleton-chip,
  .skeleton-line,
  .nutrition-row--loading > span,
  .loading-card::after,
  [data-dish-media].media-is-loading::after,
  .showcase-meal__visual--loading::before,
  .ration-pill--loading::after {
    animation: none !important;
  }
}
