html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-secondary {
  background: #fff;
  border: 1.5px solid var(--border-strong);
  color: var(--ink-900);
  font-weight: 600;
}
.btn-secondary:hover { border-color: var(--green-700); }



.home-score-ring-text { font-size: 13px; font-weight: 700; fill: var(--ink-900); }

.home-values { padding: 56px 0 0; }
.home-values-heading { margin-bottom: 20px; }
.home-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
}
.value-card-icon { margin-bottom: 14px; }
.value-card-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.value-card-body { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-600); }

@media (max-width: 720px) {
  .home-values-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .value-card { padding: 16px; }
}

.home-demo { padding: 88px 0 0; }
.home-demo-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.home-demo-head h2 { font-size: 36px; letter-spacing: -1px; }
.home-demo-head p { font-size: 16px; color: var(--ink-600); margin: 0; }

.home-demo-scroll { overflow-x: auto; padding-bottom: 4px; }
.home-demo-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  box-shadow: 0 20px 48px rgba(35, 40, 31, .10);
  display: grid;
  grid-template-columns: 280px 1fr 360px;
  min-width: 960px;
  overflow: hidden;
}
.demo-panel { padding: 20px; }
.demo-panel-left { background: var(--surface-1); border-right: 1px solid var(--border); }
.demo-panel-right { background: var(--surface-1); border-left: 1px solid var(--border); }

.demo-search {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  background: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-900);
  margin-bottom: 18px;
}
.demo-eyebrow {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-400);
}
.demo-recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-recent-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-900); }
.demo-add-btn {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--green-700);
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.demo-add-btn:hover { border-color: var(--green-700); }

.demo-centre-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.demo-centre-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-900); }
.demo-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 12px;
  font-weight: 600;
}
.demo-chip-toggle { background: #fff; border: 1px solid var(--border-strong); color: var(--ink-900); }

.demo-table { width: 100%; border-collapse: collapse; }
.demo-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-400);
  padding: 0 8px 8px;
}
.demo-table td { padding: 9px 8px; border-top: 1px solid var(--border-row); font-size: 13px; vertical-align: middle; }
.demo-table th:nth-child(2), .demo-table th:nth-child(3), .demo-table th:nth-child(4),
.demo-table td:nth-child(2), .demo-table td:nth-child(3), .demo-table td:nth-child(4) { text-align: right; white-space: nowrap; }
.demo-ingredient-name { display: block; color: var(--ink-900); font-weight: 500; }
.demo-ingredient-cat { display: block; font-size: 11px; color: var(--ink-400); margin-top: 1px; }
.demo-remove-btn { background: none; border: none; color: var(--ink-400); font-size: 13px; line-height: 1; cursor: pointer; padding: 4px; }
.demo-remove-btn:hover { color: var(--red-400); }
.demo-total-row td { background: var(--surface-1); font-weight: 700; color: var(--ink-900); border-top: 1px solid var(--border); }

.demo-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.demo-tab {
  border: none;
  background: transparent;
  color: var(--ink-600);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.demo-tab.is-active { background: var(--green-700); color: #fff; }

.demo-score-block { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.demo-verdict { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-900); }
.demo-verdict-note { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-400); }

.demo-stat-line { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-600); margin-bottom: 18px; }
.demo-stat-line .mono { color: var(--ink-900); font-weight: 600; margin-right: 4px; }

.demo-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.demo-bar-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-900); margin-bottom: 5px; }
.demo-bar-label { font-family: var(--font-mono); font-weight: 600; }
.demo-bar-label-amber { color: var(--amber-600); }
.demo-bar-label-green { color: var(--green-600); }
.demo-bar-track { height: 6px; border-radius: 3px; background: var(--ring-track); overflow: hidden; }
.demo-bar-fill { height: 100%; border-radius: 3px; transition: width .2s ease; }
.demo-bar-fill-amber { background: var(--amber-400); }
.demo-bar-fill-green { background: var(--green-500); }
.demo-bar-fill-w48 { width: 48%; }
.demo-bar-fill-w70 { width: 70%; }
.demo-bar-fill-w83 { width: 83%; }

.demo-noscript-note { max-width: 640px; margin: 0 auto 24px; }

.demo-goal-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.demo-goal-chip { cursor: pointer; font-family: var(--font-ui); background: #fff; border: 1px solid var(--border-strong); color: var(--ink-900); }
.demo-goal-chip.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.demo-goal-chip-check { display: none; }
.demo-goal-chip.is-active .demo-goal-chip-check { display: inline; }
.demo-chip-toggle { cursor: pointer; }

.demo-stepper-cell { padding-left: 0; padding-right: 0; }
.demo-stepper { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.demo-step-btn {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--green-700);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.demo-step-btn:hover { border-color: var(--green-700); }
.demo-qty { min-width: 46px; text-align: center; }

.demo-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.demo-table-footer-note { margin: 0; font-size: 12.5px; color: var(--ink-600); }
.demo-reset-btn {
  flex: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
  white-space: nowrap;
}
.demo-reset-btn:hover { color: var(--green-900); text-decoration: underline; }

.demo-browser-info { display: flex; flex-direction: column; gap: 1px; }
.demo-browser-name { font-size: 13px; color: var(--ink-900); font-weight: 500; }
.demo-browser-meta { font-size: 11px; color: var(--ink-400); }
.demo-panel-note { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--ink-400); }

.demo-stat-line .mono.is-over-limit { color: var(--amber-600); }

.demo-warnings { display: flex; flex-direction: column; }
.demo-warning-title { margin: 0; font-weight: 700; }
.demo-warning-body { margin: 3px 0 0; }

.home-fix { background: var(--green-900); margin-top: 88px; padding: 72px 0; }
.home-fix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fix-eyebrow { color: #9DBE8F; }
.fix-copy h2 { color: var(--surface-0); font-size: 40px; margin-top: 12px; }
.fix-copy p { color: #b8c0ab; max-width: 440px; margin: 0 0 24px; }
.fix-cta { background: var(--surface-0); color: var(--green-900); }
.fix-cta:hover { background: #fff; }

.fix-issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fix-issue {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .07);
  border-radius: 11px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: #E9E5D6;
}
.fix-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.fix-dot-amber { background: var(--amber-400); }
.fix-dot-red { background: var(--red-400); }
.fix-dot-blue { background: #8FB3E2; }

@media (max-width: 720px) {
  .home-fix { padding: 40px 0 44px; margin-top: 56px; }
  .home-fix-grid { grid-template-columns: 1fr; gap: 28px; }
}

.home-ingredients { padding: 88px 0 0; }
.ingredients-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.ingredients-head p { margin: 6px 0 0; max-width: 560px; }
.ingredients-view-all { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-chip, .goal-pill {
  font-family: var(--font-ui);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: #3a3d33;
  cursor: pointer;
}
.filter-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
}
.filter-chip.is-active, .goal-pill.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.ingredient-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ingredient-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px;
}
.ingredient-category {
  display: block;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--olive-600);
}
.ingredient-name { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.ingredient-stats { margin-bottom: 12px; }
.ingredient-stat { display: flex; justify-content: space-between; line-height: 1.8; font-size: 13px; color: var(--ink-600); }
.ingredient-stat .mono { color: var(--ink-900); }
.ingredient-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 10.5px;
  font-weight: 600;
}
.tag-chip-amber { background: var(--warning-bg); color: var(--warning-text); }
.tag-chip-bright-green { background: var(--positive-badge); color: var(--positive-text); }

@media (max-width: 720px) {
  .home-ingredients { padding: 56px 0 0; }
  .ingredient-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin: 0 -18px;
    padding: 0 18px 6px;
    scrollbar-width: none;
  }
  .ingredient-grid::-webkit-scrollbar { display: none; }
  .ingredient-card { flex: 0 0 250px; }
}

.home-goals { padding: 88px 0 96px; }
.goals-head { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.goals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 640px; margin: 0 auto; }
.goal-pill { padding: 13px 15px; border-radius: 11px; font-size: 13.5px; font-weight: 600; text-align: center; }

.home-compare { padding: 88px 0 0; }
.compare-head { max-width: 640px; margin: 0 0 28px; }
.compare-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px 20px; font-size: 13.5px; text-align: left; }
.compare-table thead th { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); background: var(--surface-1); }
.compare-table tbody tr { border-top: 1px solid var(--border-row); }
.compare-table tbody td:first-child { color: var(--ink-600); }
.compare-col-b { background: #F8FBF5; color: var(--green-700); }
.compare-table thead .compare-col-b { background: #EFF4EA; }
.compare-highlight { font-weight: 700; }

.home-journal { padding: 88px 0 0; }
.journal-head { max-width: 640px; margin: 0 0 28px; }
.journal-head p { max-width: 440px; }
.journal-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  max-width: 480px;
  font-size: 13px;
  line-height: 1.7;
}
.journal-card-header { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.journal-card-header .mono { white-space: nowrap; }
.journal-card p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; color: var(--ink-600); }
.journal-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.journal-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--positive-badge);
  color: var(--positive-text);
  font-size: 12px;
  font-weight: 600;
}

.home-steps { padding: 88px 0 0; }
.home-steps h2 { max-width: 640px; }
.steps-list { list-style: none; margin: 32px 0 0; padding: 0; max-width: 640px; }
.step-item { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.step-item:last-child { padding-bottom: 0; }
.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: #DCD6C3;
}
.step-badge {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.step-title { margin: 3px 0 6px; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.step-body { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-600); }

.home-pricing { padding: 88px 0 0; }
.pricing-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.pricing-head p { margin: 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 20px; max-width: 1080px; margin: 0 auto; align-items: start; }
.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.pricing-card-pro {
  border: 2px solid var(--green-700);
  border-radius: var(--radius-hero);
  box-shadow: 0 16px 40px rgba(31, 74, 44, .14);
  padding: 26px 22px;
}
.pricing-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pricing-tier-name { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--ink-900); }
.pricing-price { margin: 0; display: flex; align-items: baseline; gap: 3px; font-size: 32px; font-weight: 800; color: var(--ink-900); }
.pricing-price .mono { font-size: 32px; }
.pricing-price-suffix { font-size: 14px; font-weight: 500; color: var(--ink-400); }
.pricing-price-note { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-600); }
.pricing-features { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; color: var(--ink-600); }
.pricing-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 700; }
.pricing-cta { width: 100%; margin-top: 4px; }
.pricing-free-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
}
.pricing-free-summary { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-600); }
.pricing-free-link { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

@media (max-width: 720px) {
  .home-pricing { padding: 56px 0 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
}

.home-learn { padding: 88px 0 0; }
.learn-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.learn-view-all { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.learn-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.learn-card-image { height: 110px; }
.home-learn-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.learn-card-category { display: block; margin: 16px 18px 8px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--olive-600); }
.learn-card-title { margin: 0 18px 18px; font-size: 15.5px; font-weight: 700; color: var(--ink-900); }

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--photo-placeholder-bg);
  color: var(--ink-600);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}


@media (max-width: 720px) {
  .home-steps { padding: 56px 0 0; }
}

.mobile-only, .mobile-only-inline { display: none !important; }

@media (max-width: 720px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .mobile-only-inline { display: inline !important; }
}

@media (max-width: 720px) {

  .home-demo, .home-compare, .home-journal, .home-learn { padding-top: 56px; }
  .home-demo-head { margin-bottom: 24px; }
  .home-demo-head h2 { font-size: 28px; }
  .home-demo-scroll { overflow: visible; padding-bottom: 0; }
  .home-demo-card { display: flex; flex-direction: column; min-width: 0; }
  .demo-panel { padding: 16px; }
  .demo-panel-left { display: none; }
  .demo-panel-right { border-left: none; border-top: 1px solid var(--border); }

  .demo-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .demo-table tr { display: grid; grid-template-columns: 1fr auto auto; column-gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border-row); }
  .demo-table td { display: block; padding: 0; border-top: none; }
  .demo-table tbody td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .demo-table tbody td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .demo-table tbody td:nth-child(3) { display: none; }
  .demo-table tbody td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; font-size: 12px; color: var(--ink-600); }
  .demo-table tbody td:nth-child(5) { grid-column: 3; grid-row: 1 / span 2; }
  .demo-total-row td { background: none; }
  .demo-total-row td:nth-child(1) { grid-column: 1; }
  .demo-total-row td:nth-child(2) { grid-column: 2 / span 2; text-align: right; }
  .demo-total-row td:nth-child(3) { display: none; }
  .demo-table tfoot tr { border-top: 1px solid var(--border); }
  .demo-qty { min-width: 52px; }

  .demo-step-btn, .demo-add-btn, .demo-remove-btn { position: relative; width: 28px; height: 28px; font-size: 15px; }
  .demo-step-btn::before, .demo-add-btn::before, .demo-remove-btn::before { content: ""; position: absolute; inset: -8px; }
  .demo-chip, .demo-tab, .filter-chip { min-height: 40px; }
  .demo-reset-btn, .ingredients-view-all, .learn-view-all, .pricing-free-link { display: inline-flex; align-items: center; min-height: 44px; }
  .demo-tabs { gap: 4px; }
  .demo-tab { padding: 8px 10px; }

  .compare-table th, .compare-table td { padding: 12px; font-size: 13px; }
  .journal-card { max-width: none; }

  .preview-card-meta, .preview-macro-legend,
  .demo-eyebrow, .demo-browser-meta, .demo-ingredient-cat, .demo-panel-note,
  .demo-table-footer-note, .demo-verdict-note, .ingredient-category, .learn-card-category, .tag-chip,
  .compare-table thead th { font-size: 12px; }
  .preview-tile, .demo-stat-line, .demo-bar-head, .demo-chip, .demo-tab, .filter-chip, .journal-pill { font-size: 13px; }
}

.boilie {
  position: relative;
  display: inline-block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  background: radial-gradient(circle at 34% 28%, var(--b-hi) 0%, var(--b-mid) 52%, var(--b-lo) 100%);
  box-shadow: inset -10px -12px 20px rgba(0, 0, 0, .30), inset 7px 9px 16px rgba(255, 255, 255, .18), 0 16px 28px rgba(35, 40, 31, .18);
}
.boilie::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .07) 0 1.5px, transparent 1.5px 4.5px);
  opacity: .7;
}
.boilie-fishmeal { --b-hi: var(--boilie-fishmeal-hi); --b-mid: var(--boilie-fishmeal-mid); --b-lo: var(--boilie-fishmeal-lo); }
.boilie-robin { --b-hi: var(--boilie-robin-hi); --b-mid: var(--boilie-robin-mid); --b-lo: var(--boilie-robin-lo); }
.boilie-nut { --b-hi: var(--boilie-nut-hi); --b-mid: var(--boilie-nut-mid); --b-lo: var(--boilie-nut-lo); }
.boilie-pineapple { --b-hi: var(--boilie-pineapple-hi); --b-mid: var(--boilie-pineapple-mid); --b-lo: var(--boilie-pineapple-lo); }
.boilie-squid { --b-hi: var(--boilie-squid-hi); --b-mid: var(--boilie-squid-mid); --b-lo: var(--boilie-squid-lo); }
.boilie-tiger { --b-hi: var(--boilie-tiger-hi); --b-mid: var(--boilie-tiger-mid); --b-lo: var(--boilie-tiger-lo); }

.boilie-stack { display: inline-flex; }
.boilie-stack .boilie { width: 18px; height: 18px; box-shadow: inset -4px -5px 8px rgba(0, 0, 0, .30), inset 3px 4px 6px rgba(255, 255, 255, .18), 0 4px 10px rgba(35, 40, 31, .18); }
.boilie-stack .boilie + .boilie { margin-left: -6px; }

.home-hero { padding: 24px 0 0; }
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
  padding-block: 40px 48px;
}
.home-hero-grid > * { min-width: 0; }
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-900);
}
.home-hero-copy h1 {
  font-size: 56px;
  line-height: .98;
  letter-spacing: -2px;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.home-hero-accent { color: var(--green-500); }
.home-hero-body {
  font-size: 18px;
  line-height: 1.6;
  color: #4b4f42;
  max-width: 500px;
  margin-bottom: 30px;
}
.home-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero-new-recipe-form { display: contents; }
.home-hero-actions .btn { padding: 17px 32px; font-size: 16px; font-weight: 700; border-radius: 12px; }
.home-hero-actions .btn-primary { box-shadow: 0 10px 24px rgba(31, 74, 44, .22); }
.home-hero-actions .btn-secondary { padding: 16px 28px; font-weight: 600; }
.home-hero-stats {
  display: flex;
  gap: 28px;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.home-hero-stat { position: relative; }
.home-hero-stat + .home-hero-stat { padding-left: 28px; border-left: 1px solid var(--border); }
.home-hero-stat dt { font-size: 20px; font-weight: 600; color: var(--ink-900); }
.home-hero-stat dd { margin: 2px 0 0; font-size: 14px; color: var(--ink-600); }

.home-hero-visual { position: relative; padding: 0 0 36px 44px; }
.home-hero-photo {
  position: relative;
  height: 560px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--photo-placeholder-bg);
  box-shadow: 0 32px 72px rgba(35, 40, 31, .18);
}
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-hero-flag {
  position: absolute;
  top: 28px;
  right: -16px;
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: 250px;
  padding: 11px 14px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(35, 40, 31, .14);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--warning-text);
}
.home-hero-flag svg { flex: none; }

.home-preview-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 360px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  box-shadow: 0 24px 56px rgba(35, 40, 31, .18);
  overflow: hidden;
}
.preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #EFEAD9;
}
.preview-card-heading { min-width: 0; }
.preview-card-title { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink-900); }
.preview-card-meta { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-400); }
.preview-card-body { padding: 12px 18px 14px; }
.preview-macros-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.preview-card-price { letter-spacing: 0; text-transform: none; color: var(--green-700); font-weight: 600; }
.preview-macro-bar { display: flex; height: 10px; gap: 2px; border-radius: var(--radius-pill); overflow: hidden; }
.preview-macro-bar span:nth-child(1) { width: 43%; }
.preview-macro-bar span:nth-child(2) { width: 31%; }
.preview-macro-bar span:nth-child(3) { width: 9.4%; }
.preview-macro-bar span:nth-child(4) { flex: 1; }
.preview-macro-protein { background: var(--green-700); }
.preview-macro-carbs { background: var(--olive-400); }
.preview-macro-fat { background: var(--amber-400); }
.preview-macro-rest { background: var(--track); }
.preview-macro-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0 0; padding: 0; font-size: 12.5px; color: var(--ink-600); }
.preview-macro-legend li { display: flex; align-items: center; gap: 4px; }
.preview-macro-dot { width: 7px; height: 7px; border-radius: 50%; }

.preview-tile {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 10px;
}
.preview-tile p { margin: 0; color: inherit; }
.preview-tile svg { flex: none; margin-top: 1px; }
.preview-tile-warning { background: var(--warning-bg); border: 1px solid var(--warning-border); color: var(--warning-text); }
.preview-tile-positive { background: var(--positive-bg); border: 1px solid var(--positive-border); color: var(--positive-text); }
.preview-tile-info { background: var(--info-bg); border: 1px solid var(--info-border); color: var(--info-text); }

@media (max-width: 1023px) {
  .home-hero-copy h1 { font-size: 52px; letter-spacing: -1.8px; }
  .home-hero-photo { height: 480px; }
  .home-preview-card { width: 320px; }
}

@media (max-width: 720px) {
  .home-hero { padding-top: 8px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 20px 24px; }
  .home-hero-badge { margin-bottom: 16px; }
  .home-hero-copy h1 { font-size: 38px; letter-spacing: -1.2px; }
  .home-hero-body { font-size: 16px; margin-bottom: 22px; }
  .home-hero-actions { flex-direction: column; }
  .home-hero-actions .btn { width: 100%; }
  .home-hero-stats { gap: 16px; margin-top: 22px; padding-top: 18px; }
  .home-hero-stat + .home-hero-stat { padding-left: 16px; }
  .home-hero-stat dt { font-size: 17px; }
  .home-hero-stat dd { font-size: 13px; }
  .home-hero-visual { padding: 0 0 0; }
  .home-hero-photo { height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
  .home-hero-flag { top: 12px; right: 12px; max-width: 220px; font-size: 12px; }
  .home-preview-card { position: relative; width: auto; margin: -36px 12px 0; }
  .preview-card-body { padding-bottom: 16px; }
}

.home-palette {
  margin-top: 96px;
  padding: 64px 0 60px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.palette-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.palette-head .eyebrow { margin-bottom: 12px; letter-spacing: .12em; font-size: 12px; }
.palette-head h2 { font-size: 38px; letter-spacing: -1.2px; margin-bottom: 10px; }
.palette-head p { margin: 0; font-size: 16px; }
.palette-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 0; padding: 0; }
.palette-item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.palette-name { font-size: 15px; font-weight: 700; color: var(--ink-900); }
.palette-note { margin-top: -10px; font-size: 12.5px; color: var(--ink-400); }

@media (max-width: 1023px) {
  .palette-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
}
@media (max-width: 720px) {
  .home-palette { margin-top: 56px; padding: 44px 0 40px; }
  .palette-head { margin-bottom: 28px; }
  .palette-head h2 { font-size: 28px; }
  .palette-grid { gap: 22px 12px; }
  .palette-item .boilie { width: 72px; height: 72px; }
  .palette-name { font-size: 14px; }
}

.ingredient-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ingredient-head .ingredient-category { margin-bottom: 3px; }
.ingredient-head .ingredient-name { margin: 0; }
.ingredient-swatch {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 45%),
    repeating-radial-gradient(circle at 60% 70%, var(--sw-grain) 0 1px, transparent 1px 3px),
    radial-gradient(circle, var(--sw-hi), var(--sw-lo));
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, .14), inset 4px 5px 10px rgba(255, 255, 255, .25);
}
.swatch-fishmeal { --sw-hi: var(--swatch-fishmeal-hi); --sw-lo: var(--swatch-fishmeal-lo); --sw-grain: rgba(60, 30, 10, .35); }
.swatch-semolina { --sw-hi: var(--swatch-semolina-hi); --sw-lo: var(--swatch-semolina-lo); --sw-grain: rgba(180, 140, 60, .35); }
.swatch-krill { --sw-hi: var(--swatch-krill-hi); --sw-lo: var(--swatch-krill-lo); --sw-grain: rgba(150, 50, 30, .3); }
.swatch-casein { --sw-hi: var(--swatch-casein-hi); --sw-lo: var(--swatch-casein-lo); --sw-grain: rgba(200, 195, 180, .4); }

@media (max-width: 720px) {
  .ingredient-swatch { width: 52px; height: 52px; }
}

.home-bench { padding: 96px 0 0; }
.home-bench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.home-bench-grid > * { min-width: 0; }
.home-bench-visual { position: relative; padding: 0 40px 40px 0; }
.home-bench-photo {
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--photo-placeholder-bg);
  box-shadow: 0 28px 64px rgba(35, 40, 31, .16);
}
.home-bench-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-bench-visual .journal-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: none;
  padding: 18px;
  box-shadow: 0 22px 52px rgba(35, 40, 31, .18);
}
.home-bench-copy .eyebrow { margin-bottom: 14px; letter-spacing: .12em; font-size: 12px; }
.home-bench-copy h2 { font-size: 38px; line-height: 1.05; letter-spacing: -1.2px; margin-bottom: 12px; }
.home-bench-copy > p { max-width: 440px; font-size: 15.5px; margin-bottom: 28px; }
.home-bench-copy .steps-list { margin-top: 0; }
.home-bench-copy .step-item { padding-bottom: 22px; }
.home-bench-copy .step-item:last-child { padding-bottom: 0; }

@media (max-width: 1023px) {
  .home-bench-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-bench-visual { padding: 0 24px 32px 0; }
  .home-bench-photo { height: 420px; }
}
@media (max-width: 720px) {
  .home-bench { padding-top: 56px; }
  .home-bench-grid { gap: 28px; }
  .home-bench-visual { padding: 0; order: 2; }
  .home-bench-photo { height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
  .home-bench-visual .journal-card { position: relative; width: auto; margin: -40px 12px 0; }
  .home-bench-copy h2 { font-size: 28px; }
}

.home-final-cta { padding: 96px 0 88px; }
.final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--green-900);
  border-radius: 26px;
  overflow: hidden;
}
.final-cta-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px 64px; }
.final-cta-stack { margin-bottom: 22px; }
.final-cta-stack .boilie { width: 34px; height: 34px; }
.final-cta-stack .boilie + .boilie { margin-left: -10px; }
.final-cta-copy h2 { font-size: 44px; line-height: 1.02; letter-spacing: -1.4px; color: var(--surface-0); margin-bottom: 14px; text-wrap: balance; }
.final-cta-copy p { max-width: 440px; font-size: 16px; color: #b8c0ab; margin-bottom: 28px; }
.final-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-final-cta-new-recipe-form { display: contents; }
.final-cta-primary { padding: 16px 34px; background: var(--surface-0); color: var(--green-900); font-size: 15.5px; font-weight: 700; border-radius: 12px; }
.final-cta-primary:hover { background: #fff; }
.final-cta-secondary { padding: 15px 26px; border: 1.5px solid rgba(247, 243, 234, .35); color: var(--surface-0); font-size: 15.5px; border-radius: 12px; }
.final-cta-secondary:hover { border-color: var(--surface-0); }
.final-cta-scatter {
  position: relative;
  min-height: 420px;
  background: radial-gradient(ellipse at 60% 60%, var(--green-700) 0%, var(--green-900) 55%, #0E2415 100%);
  overflow: hidden;
}
.final-cta-scatter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(14, 36, 21, .55), transparent);
}
.final-cta-scatter .boilie { position: absolute; box-shadow: inset -12px -14px 24px rgba(0, 0, 0, .32), inset 8px 11px 19px rgba(255, 255, 255, .16), 0 21px 35px rgba(0, 0, 0, .35); }
.final-cta-scatter .boilie:nth-child(1) { left: 58%; top: 52%; width: 150px; height: 150px; }
.final-cta-scatter .boilie:nth-child(2) { left: 30%; top: 60%; width: 128px; height: 128px; }
.final-cta-scatter .boilie:nth-child(3) { left: 66%; top: 22%; width: 118px; height: 118px; }
.final-cta-scatter .boilie:nth-child(4) { left: 14%; top: 30%; width: 104px; height: 104px; }
.final-cta-scatter .boilie:nth-child(5) { left: 44%; top: 26%; width: 92px; height: 92px; }
.final-cta-scatter .boilie:nth-child(6) { left: 80%; top: 64%; width: 110px; height: 110px; }
.final-cta-scatter .boilie:nth-child(7) { left: 8%; top: 70%; width: 86px; height: 86px; }
.final-cta-scatter .boilie:nth-child(8) { left: 36%; top: 8%; width: 74px; height: 74px; }
.final-cta-scatter .boilie:nth-child(9) { left: 50%; top: 76%; width: 96px; height: 96px; }
.final-cta-scatter .boilie:nth-child(10) { left: 88%; top: 14%; width: 64px; height: 64px; }
.final-cta-scatter .boilie:nth-child(11) { left: 22%; top: 6%; width: 58px; height: 58px; }
.final-cta-scatter .boilie:nth-child(12) { left: 4%; top: 8%; width: 70px; height: 70px; }
.final-cta-scatter .boilie:nth-child(13) { left: 76%; top: 88%; width: 66px; height: 66px; }
.final-cta-scatter .boilie:nth-child(14) { left: 94%; top: 44%; width: 60px; height: 60px; }

@media (max-width: 1023px) {
  .final-cta-panel { grid-template-columns: 1fr; }
  .final-cta-copy { padding: 56px 40px; }
  .final-cta-scatter { min-height: 260px; }
}
@media (max-width: 720px) {
  .home-final-cta { padding: 56px 0 64px; }
  .final-cta-panel { border-radius: 18px; }
  .final-cta-copy { padding: 36px 22px; }
  .final-cta-copy h2 { font-size: 30px; }
  .final-cta-actions { flex-direction: column; width: 100%; }
  .final-cta-actions .btn { width: 100%; }
  .final-cta-scatter { min-height: 200px; }
  .final-cta-scatter .boilie { transform: scale(.7); transform-origin: top left; }
}

.home-hero-visual { max-width: 100%; }
.home-hero-photo img { max-width: 100%; }
.home-preview-card { max-width: 100%; }
@media (max-width: 1199px) {
  .home-hero-flag { right: 0; }
}
