/* ready4meal site styles */
:root {
  --bg: #fbf7f4;
  --card: rgba(255, 255, 255, 0.72);
  --stroke: rgba(0, 0, 0, 0.06);
  --text: #3b3b3b;
  --muted: rgba(59, 59, 59, 0.72);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% 10%, #fff 0%, var(--bg) 55%),
    radial-gradient(900px 700px at 90% 30%, #fff 0%, var(--bg) 55%),
    var(--bg);
  color: var(--text);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 244, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}

.topbar-inner {
  padding: 18px 18px;
  display: flex;
  align-items: center;           /* vertical centering */
  justify-content: space-between; /* left brand, right button */
  gap: 12px;
}

.btn-header {
  padding: 8px 14px;             /* tighter than default .btn */
  height: 34px;                  /* match your 34px brand icon */
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.brand-text {
  font-weight: 650;
  letter-spacing: 0.2px;
}

.wrap {
  min-height: calc(100% - 70px);
  display: grid;
  place-items: center;
  padding: 28px 18px 48px;
}

.card {
  width: min(920px, 100%);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 34px);
  backdrop-filter: blur(14px);
}

.hero {
  display: flex;
  justify-content: center;
  padding: 10px 0 18px;
}

.hero-img {
  width: min(820px, 100%);
  height: auto;
  border-radius: 18px;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.02em;
}

.sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.55;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 22px;
}

.pill {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 10px;
}

.btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.btn:active {
  transform: translateY(0px);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.status {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(111, 163, 111, 0.85);
  box-shadow: 0 0 0 6px rgba(111, 163, 111, 0.12);
}

.fineprint {
  color: rgba(59, 59, 59, 0.55);
}

.fineprint a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.fineprint a:hover {
  text-decoration: underline;
}

.byline {
  margin-left: 6px;
  font-size: 0.85em;
  opacity: 0.75;
  white-space: nowrap;
}

.byline a {
  font-weight: 600;
}

.bg-blur {
  position: fixed;
  inset: auto;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.35;
  z-index: -1;
}

.bg-blur-1 {
  left: -120px;
  top: 120px;
  background: #f5c7b5;
}

.bg-blur-2 {
  right: -140px;
  bottom: -120px;
  background: #b8c7a7;
}

/* Store CTA row */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 10px;
}

.btn-primary {
  background: rgba(59, 59, 59, 0.92);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 6px;
}

.feature {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 14px 14px;
}

.feature h2 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.divider {
  height: 1px;
  background: var(--stroke);
  margin: 18px 0;
}

/* Recipes teaser */
.recipes-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

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

.recipe-card {
  display: block;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 14px 14px;
  text-decoration: none;
  color: var(--text);
}

.recipe-card:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.recipe-card.is-static:hover {
  box-shadow: none;
  transform: none;
}

.recipe-card-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.recipe-card-sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.recipe-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */
.faq h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq details {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  padding: 10px 12px;
  margin: 10px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

@media (max-width: 840px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .recipes-grid {
    grid-template-columns: 1fr;
  }
}

/* Screenshots gallery */
.screenshots {
  margin-top: 60px;
}

.screenshots h2 {
  margin-bottom: 20px;
}

.screenshots-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.screenshots-row img {
  height: 520px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Desktop grid layout */
@media (min-width: 1000px) {
  .screenshots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }

  .screenshots-row img {
    height: auto;
    width: 100%;
  }
}
/* Top nav */
.topnav { display:flex; align-items:center; gap:12px; }
.topnav-link { text-decoration:none; font-weight:600; padding:10px 12px; border-radius:12px; }
.topnav-link:hover { background: rgba(0,0,0,0.04); }

/* Filters + tags */
.recipes-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:14px 0; }
.recipes-filters { display:flex; gap:10px; flex-wrap:wrap; }
.chip { border:1px solid rgba(0,0,0,0.10); background: rgba(255,255,255,0.65); padding:8px 12px; border-radius:999px; font-weight:700; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; }
.chip:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.chip.is-active { border-color: rgba(0,0,0,0.18); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.recipes-search input { width:min(340px, 78vw); padding:10px 12px; border-radius:14px; border:1px solid rgba(0,0,0,0.10); background: rgba(255,255,255,0.75); outline:none; }
.recipes-search input:focus { border-color: rgba(0,0,0,0.22); }

.tag-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.tag { font-size:0.82rem; padding:6px 10px; border-radius:999px; background: rgba(0,0,0,0.04); border:1px solid rgba(0,0,0,0.06); }

/* Recipe page small bits */
.breadcrumb a { text-decoration:none; }
.breadcrumb a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.9em; }

/* Install banner */
.install { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; }
.install-inner { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; padding:14px; border-radius:18px; background: rgba(255,255,255,0.92); border:1px solid rgba(0,0,0,0.10); box-shadow: 0 14px 46px rgba(0,0,0,0.14); }
.install-title { font-weight: 800; }
.install-sub { color: var(--muted); margin-top: 2px; }
.install-actions { display:flex; gap:10px; }
@media (max-width: 520px) {
  .install-actions { width:100%; }
  .install-actions .btn { flex:1; text-align:center; }
}

/* --- Recipe card image size control (homepage + future images) --- */
.recipe-thumb {
  width: 100%;
  height: 140px;
  max-height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
}

.recipe-card {
  overflow: hidden;
}

.recipe-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  margin: 16px 0 18px;
  display: block;
}

.hero-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.hero-title img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}