/*
 * main.css — NutriCare Base Styles
 * Supplements Tailwind with custom typography and component styles.
 */

/* ─── Base Typography ─── */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg-body);
  overflow-x: hidden;
}

/* ─── Site Footer ─── */
.site-footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(45, 159, 131, 0.2), transparent 28%),
    linear-gradient(135deg, #0b211b 0%, #123b31 58%, #0f4f3d 100%);
  color: #fff;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.15fr) minmax(280px, 0.9fr);
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

@media (min-width: 640px) {
  .site-footer-inner {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer-inner {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

.site-footer-logo {
  display: inline-grid;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
  color: #fff;
  text-decoration: none;
}

.site-footer-logo span {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.site-footer-logo small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-footer-brand p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.7;
}

.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.site-footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.42rem 0.62rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer-badges i {
  color: #9ff0d1;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.site-footer-links h4 {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer-links ul {
  display: grid;
  gap: 0.62rem;
}

.site-footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-links a:hover {
  color: #fff;
}

.site-footer-cta {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

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

.site-footer-cta span {
  color: #9ff0d1;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.site-footer-cta strong {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  line-height: 1.45;
}

.site-footer-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.site-footer-actions a,
.site-footer-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 0.85rem;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.site-footer-actions .secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  text-align: center;
}

.site-footer-bottom p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

.site-footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
}

/* ─── Prose (for rich text content) ─── */
.prose {
  max-width: 65ch;
  color: var(--color-text);
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  font-weight: 700;
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--color-primary-600);
}

/* ─── Nutrient Bar (mini progress bar for macros) ─── */
.nutrient-bar {
  height: 6px;
  border-radius: 3px;
  background-color: var(--color-bg-muted);
  overflow: hidden;
}

.nutrient-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.nutrient-bar-protein { background-color: #3B82F6; }
.nutrient-bar-lipid { background-color: #F59E0B; }
.nutrient-bar-glucid { background-color: #10B981; }
.nutrient-bar-fiber { background-color: #8B5CF6; }

/* ─── Disease Tag Colors ─── */
.disease-tag-diabetes { background-color: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.disease-tag-kidney { background-color: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.disease-tag-hypertension { background-color: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }
.disease-tag-gout { background-color: #EDE9FE; color: #5B21B6; border: 1px solid #DDD6FE; }
.disease-tag-cancer { background-color: #FCE7F3; color: #9D174D; border: 1px solid #FBCFE8; }
.disease-tag-malnutrition { background-color: #FFF7ED; color: #9A3412; border: 1px solid #FED7AA; }

/* ─── Recipe Card Flip (Design B) ─── */
.recipe-card-flip {
  perspective: 800px;
}

.recipe-card-flip .card-inner {
  position: relative;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.recipe-card-flip:hover .card-inner {
  transform: rotateY(180deg);
}

.recipe-card-flip:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
}

.recipe-card-flip .card-front,
.recipe-card-flip .card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.recipe-card-flip .card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  border-radius: 12px;
  overflow: hidden;
}

/* ─── Smooth Transitions ─── */
.transition-panel {
  transition: transform 540ms ease-in-out, opacity 540ms ease-in-out;
}

/* ─── Landing Page Conversion Sections ─── */
.landing-hero-visual {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.landing-product-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.landing-product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-window-dots {
  display: flex;
  gap: 0.35rem;
}

.landing-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.landing-product-body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.landing-plan-card,
.landing-meal-card,
.landing-dietitian-note,
.landing-metric-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.landing-plan-card {
  padding: 1rem;
}

.landing-plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.landing-plan-kicker {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-plan-title {
  margin-top: 0.15rem;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.landing-plan-badge {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
}

.landing-nutrient-bars {
  display: grid;
  gap: 0.65rem;
}

.landing-nutrient-row {
  display: grid;
  grid-template-columns: 72px 1fr 46px;
  align-items: center;
  gap: 0.6rem;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
}

.landing-nutrient-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.landing-nutrient-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.landing-meal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.landing-meal-card {
  overflow: hidden;
}

.landing-meal-photo {
  height: 86px;
  background:
    radial-gradient(circle at 32% 34%, #fbbf24 0 12%, transparent 13%),
    radial-gradient(circle at 58% 44%, #10b981 0 11%, transparent 12%),
    radial-gradient(circle at 42% 62%, #f97316 0 10%, transparent 11%),
    radial-gradient(circle at 64% 66%, #f8fafc 0 18%, transparent 19%),
    linear-gradient(135deg, #d1fae5, #fef3c7);
}

.landing-meal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-meal-content {
  padding: 0.75rem;
}

.landing-meal-title {
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.landing-meal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.landing-meal-meta span {
  border-radius: 999px;
  padding: 0.22rem 0.45rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.66rem;
  font-weight: 800;
}

.landing-dietitian-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
}

.landing-dietitian-avatar {
  display: grid;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-700));
  color: #fff;
}

.landing-floating-chip {
  position: absolute;
  right: -14px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.landing-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-proof-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 68px;
  border-radius: 16px;
  border: 1px solid var(--color-border-light);
  background: #fff;
  padding: 0.85rem 1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.landing-section-title {
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.landing-section-copy {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

.landing-hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.landing-hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.55rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.landing-hero-proof i {
  color: var(--color-light);
  font-size: 0.65rem;
}

.landing-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.landing-path-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.landing-path-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -52px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(45, 159, 131, 0.1);
}

.landing-path-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #ecfdf5;
  color: var(--color-primary-700);
  font-size: 1.1rem;
}

.landing-path-media {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: #ecfdf5;
}

.landing-path-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.landing-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.9rem;
}

.landing-feature-list i {
  color: var(--color-primary);
  font-size: 0.72rem;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landing-step-card {
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
}

.landing-step-visual {
  display: grid;
  min-height: 132px;
  margin-bottom: 1rem;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5, #f8fafc);
}

.landing-phone-mock {
  width: 112px;
  border-radius: 22px;
  background: #0f172a;
  padding: 0.5rem;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.landing-phone-screen {
  min-height: 134px;
  border-radius: 18px;
  background: #fff;
  padding: 0.65rem;
}

.landing-mini-pill {
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.66rem;
  font-weight: 800;
}

.landing-dashboard-mini {
  width: 100%;
  max-width: 260px;
  border-radius: 18px;
  background: #fff;
  padding: 0.8rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.landing-journey-section {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 58%, #f8fafc 100%);
}

.landing-journey-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.landing-eyebrow {
  color: var(--color-primary-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
}

.landing-plan-preview {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(45, 159, 131, 0.16);
  background:
    radial-gradient(circle at 8% 12%, rgba(209, 250, 229, 0.8), transparent 28%),
    linear-gradient(135deg, #0f3d31, #168464);
  padding: 1.25rem;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
}

.landing-plan-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
}

.landing-plan-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.landing-plan-topbar strong {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.65rem;
  color: #fff;
  white-space: nowrap;
}

.landing-plan-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.landing-plan-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.landing-plan-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-plan-summary strong {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
}

.landing-plan-status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ecfdf5;
  padding: 0.35rem 0.65rem;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
}

.landing-macro-bars {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.landing-macro-bars div {
  display: grid;
  grid-template-columns: 76px 1fr 46px;
  gap: 0.65rem;
  align-items: center;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 800;
}

.landing-macro-bars b {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 999px #e2e8f0;
  clip-path: inset(0 -999px 0 0 round 999px);
}

.landing-macro-bars em {
  color: #334155;
  font-style: normal;
  text-align: right;
}

.landing-plan-meals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.landing-plan-meals div {
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.landing-plan-meals img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.landing-plan-meals strong,
.landing-plan-meals span {
  display: block;
  padding: 0 0.65rem;
}

.landing-plan-meals strong {
  margin-top: 0.55rem;
  color: #0f172a;
  font-size: 0.82rem;
}

.landing-plan-meals span {
  margin: 0.25rem 0 0.65rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.landing-plan-review {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  border-radius: 14px;
  background: #f8fafc;
  padding: 0.75rem;
}

.landing-plan-review strong,
.landing-plan-review span {
  display: block;
}

.landing-plan-review strong {
  color: #0f172a;
  font-size: 0.86rem;
}

.landing-plan-review span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.landing-journey-steps {
  display: grid;
  gap: 0.8rem;
}

.landing-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.85rem;
  align-items: start;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.landing-journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: -0.82rem;
  width: 2px;
  height: 0.82rem;
  background: #d1fae5;
}

.landing-step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 900;
}

.landing-journey-step h3 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.landing-journey-step p {
  margin-top: 0.28rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.landing-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.75rem;
}

.landing-step-tags span {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 0.35rem 0.55rem;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
}

.landing-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.landing-step-actions a,
.landing-step-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--color-primary);
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.landing-step-actions .secondary {
  border-color: var(--color-border);
  background: #fff;
  color: #0f172a;
}

.landing-growth-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 168, 56, 0.18), transparent 24%),
    linear-gradient(135deg, #0d1a15 0%, #1a3a2f 46%, #187558 100%);
}

.landing-growth-copy {
  color: rgba(255, 255, 255, 0.78);
}

.landing-growth-card-copy {
  color: rgba(255, 255, 255, 0.68);
}

.landing-growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.landing-growth-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.landing-client-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  border-radius: 14px;
  padding: 0.75rem;
  background: #f8fafc;
}

.landing-client-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
}

@media (max-width: 1023px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-proof-grid,
  .landing-steps,
  .landing-growth-grid {
    grid-template-columns: 1fr;
  }

  .landing-path-grid {
    grid-template-columns: 1fr;
  }

  .landing-journey-header,
  .landing-journey-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-proofs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .site-footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-links > div:last-child {
    grid-column: 1 / -1;
  }

  .site-footer-brand p {
    font-size: 0.82rem;
  }

  .site-footer-bottom {
    padding: 1rem 4.25rem 1.2rem 1rem;
    text-align: left;
  }

  .site-footer-bottom p {
    line-height: 1.55;
  }

  .landing-product-frame {
    border-radius: 18px;
  }

  .landing-meal-grid,
  .landing-proof-grid {
    grid-template-columns: 1fr;
  }

  .landing-floating-chip {
    right: 8px;
    bottom: -18px;
  }

  .landing-nutrient-row {
    grid-template-columns: 64px 1fr 40px;
  }

  .landing-hero-proofs {
    justify-content: center;
  }

  .landing-journey-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .landing-plan-preview {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .landing-plan-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .landing-plan-card {
    padding: 0.8rem;
    border-radius: 16px;
  }

  .landing-plan-summary,
  .landing-plan-meals {
    grid-template-columns: 1fr;
  }

  .landing-plan-summary {
    display: grid;
    gap: 0.6rem;
  }

  .landing-plan-status {
    justify-self: start;
  }

  .landing-macro-bars div {
    grid-template-columns: 58px 1fr 38px;
    gap: 0.45rem;
    font-size: 0.7rem;
  }

  .landing-journey-step {
    grid-template-columns: 40px 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .landing-journey-step:not(:last-child)::after {
    left: 28px;
  }

  .landing-step-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .landing-step-actions a,
  .landing-step-actions button {
    width: 100%;
  }
}
