:root {
  --bg: #FAF9F6;
  --card: #ffffff;
  --text: #2D2424;
  --text-body: #4b3f3f;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #5e3211 !important;
  --accent: #d6582a;
  --accent-dark: #a93f1d;
  --section-tint: #f8f2ea;
  --danger: #dc2626;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-body);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
main { padding-bottom: 2rem; }

.container { width: min(980px, 92vw); margin: 0 auto; }
.stack { display: grid; gap: 1rem; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.topbar--scrolled {
  background: rgba(250, 249, 246, 0.62);
  border-bottom-color: rgba(203, 213, 225, 0.88);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.topbar__content { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; }
.brand { font-size: 1.1rem; font-weight: 700; }
.nav { display: flex; gap: 1rem; color: var(--muted); }

.page-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-top: 1.5rem; }
.page-header h1 { margin: 0; font-size: 1.7rem; }
.page-header p { margin: 0.35rem 0 0; color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(45, 36, 36, 0.08);
  padding: 1rem;
}
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: 0.9rem; }
input, select, textarea {
  width: 100%; padding: .6rem .7rem; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.actions { display: flex; gap: .6rem; justify-content: flex-end; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border-radius: 8px; border: 1px solid var(--primary); background: var(--primary);
  color: #fff; padding: .55rem .9rem; font-weight: 600; cursor: pointer;
}
.button--ghost { background: transparent; color: var(--primary); }
.button--danger { background: #fff; border-color: #fecaca; color: var(--danger); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .7rem .4rem; border-bottom: 1px solid var(--border); }
.table-actions { display: flex; gap: .5rem; justify-content: flex-end; }

.flash-stack { margin-top: 1rem; }
.flash { padding: .7rem .9rem; border-radius: 8px; }
.flash--notice { background: #dcfce7; color: #166534; }
.flash--alert { background: #fee2e2; color: #991b1b; }
.alert { background: #fff7ed; border: 1px solid #fed7aa; padding: .8rem; border-radius: 8px; }

/* Minimal utility support for existing recipe views */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 920px; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-3 { margin-top: .75rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-7 { grid-column: span 7; }
.col-span-4 { grid-column: span 4; }
.col-span-1 { grid-column: span 1; }
.text-sm { font-size: .9rem; }
.text-lg { font-size: 1.1rem; }
.text-2xl { font-size: 1.6rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: var(--text); }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }
.text-rose-600 { color: #e11d48; }
.text-rose-700 { color: #be123c; }
.text-white { color: white; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.mr-2 { margin-right: .5rem; }
.rounded-lg, .rounded-md, .rounded-xl { border-radius: 10px; }
.border { border: 1px solid var(--border); }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-rose-200 { border-color: #fecdd3; }
.border-dashed { border-style: dashed; }
.bg-white { background: white; }
.bg-slate-50 { background: var(--bg); }
.bg-slate-900 { background: var(--primary); }
.bg-emerald-50 { background: #ecfdf5; }
.shadow-sm { box-shadow: 0 8px 20px rgba(45, 36, 36, 0.08); }
.text-red-500 { color: var(--danger); }
.hidden { display: none !important; }

.onboarding-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
}

.onboarding-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.onboarding-popup__content {
  position: relative;
  width: min(560px, 92vw);
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.2);
}

.onboarding-popup__content h2 {
  margin-top: 0;
}

.onboarding-popup__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
}

.landing {
  //padding: 2.5rem 0 1rem;
  padding: 0 !important;
}

.landing__hero {
  background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.2rem;
}

.landing__hero--split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

.landing__eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: .78rem;
}

.landing__hero h1 {
  margin: .65rem 0 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1f1616;
}

.landing__lead {
  margin: .9rem 0 0;
  color: var(--muted);
  max-width: 64ch;
  line-height: 1.6;
  font-size: 24px;
}

.landing__actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.landing__actions .button {
  border-color: var(--accent-dark);
  box-shadow: 0 12px 22px rgba(169, 63, 29, 0.32);
  border-radius: 980px;
  background-color: #f3ece2;
}

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

.landing__actions .button--ghost {
  background: transparent;
  box-shadow: none;
  color: var(--accent-dark);
  border-color: #c77860;
}

.hero-mockup {
  position: relative;
  min-height: 330px;
  overflow: visible;
}

.hero-mockup__flour {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.95) 0 20%, transparent 42%),
    radial-gradient(circle at 73% 60%, rgba(255, 255, 255, 0.87) 0 18%, transparent 40%),
    radial-gradient(circle at 45% 74%, rgba(255, 255, 255, 0.65) 0 14%, transparent 34%),
    linear-gradient(145deg, #c7ab94, #b48667);
}

.hero-mockup__ipad {
  position: absolute;
  inset: 22px 36px -26px 36px;
  border-radius: 28px;
  background: linear-gradient(160deg, #2f3842, #151b22);
  padding: 14px;
  box-shadow: 0 20px 30px rgba(21, 27, 34, 0.35);
}

.hero-mockup__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 999px;
  background: #4b5563;
}

.hero-mockup__screen {
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(150deg, #fff7ed 0%, #ffffff 56%, #fef3c7 100%);
  padding: 1rem;
}

.hero-mockup__brand {
  margin: 0;
  color: #78716c;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
}

.hero-mockup__screen h3 {
  margin: .35rem 0 .6rem;
  font-size: 1rem;
}

.hero-mockup__dessert {
  height: 120px;
  border-radius: 14px;
  margin-bottom: .65rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.55), transparent 30%),
    radial-gradient(circle at 58% 52%, #f9a8d4 0 22%, #831843 65%);
  box-shadow: inset 0 10px 16px rgba(255, 255, 255, .25);
}

.hero-mockup dl {
  margin: 0;
  display: grid;
  gap: .35rem;
  font-size: .82rem;
}

.hero-mockup dl div {
  display: flex;
  justify-content: space-between;
}

.hero-mockup dt {
  color: #78716c;
}

.hero-mockup dd {
  margin: 0;
  font-weight: 700;
}

.landing__features {
  margin-top: 1rem;
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(45, 36, 36, 0.12);
  padding: 1rem;
}

.landing-card h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #312525;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.landing-card__icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.landing-card p {
  margin: .5rem 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: .92rem;
}

.landing__proof {
  margin-top: 1rem;
  display: grid;
  gap: .9rem;
  grid-template-columns: 1.1fr 1.4fr;
}

.landing__simulator {
  margin-top: 1rem;
  background: linear-gradient(140deg, var(--section-tint) 0%, #fffaf4 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 18px 32px rgba(45, 36, 36, 0.09);
  padding: 1.2rem;
  position: relative;
  isolation: isolate;
}

.landing__simulator::before,
.landing__simulator::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.landing__simulator::before {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 88, 42, 0.24) 0%, transparent 70%);
  top: -14px;
  right: 28px;
}

.landing__simulator::after {
  width: 100px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(81, 111, 72, 0.18) 0%, transparent 75%);
  left: 18px;
  bottom: 8px;
}

.landing__simulator h2 {
  margin: .4rem 0 0;
  color: #2a1e1e;
  font-weight: 800;
}

.landing__slider {
  margin-top: 1rem;
}

.landing__slider input {
  margin-top: .45rem;
}

.landing__metrics {
  margin-top: 1rem;
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  border-radius: 12px;
  padding: .8rem;
  border: 1px solid transparent;
}

.metric-card__label {
  margin: 0;
  font-size: .84rem;
  color: var(--muted);
}

.metric-card__value {
  margin: .3rem 0 0;
  font-size: 1.55rem;
  font-weight: 800;
}

.metric-card--danger {
  background: #fff1f2;
  border-color: #fecdd3;
}

.metric-card--danger .metric-card__value {
  color: #be123c;
}

.metric-card--success {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.metric-card--success .metric-card__value {
  color: #166534;
}

.landing__formula {
  margin: 1rem 0 0;
  font-size: .92rem;
  color: #475569;
}

.testimonial-card,
.comparison-card,
.story-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(45, 36, 36, 0.08);
  padding: 1.2rem;
}

.testimonial-card__quote {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
}

.testimonial-card__author {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.comparison-card h2,
.story-card h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #302222;
  font-weight: 800;
}

.comparison-card {
  background: #ffffff;
  border: 2px solid #edb8a7;
}

.comparison-card table {
  width: 100%;
  margin-top: .8rem;
  border-collapse: collapse;
  font-size: .9rem;
}

.comparison-card th,
.comparison-card td {
  text-align: left;
  padding: .55rem .4rem;
  border-bottom: 1px solid var(--border);
}

.comparison-card th {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
}

.comparison-card tbody tr:last-child td {
  border-bottom: none;
}

.landing__story {
  margin-top: 1rem;
}

.story-card p {
  margin: .7rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .landing__hero { padding: 1.4rem; }
  .landing__hero--split { grid-template-columns: 1fr; }
  .landing__features { grid-template-columns: 1fr; }
  .landing__metrics { grid-template-columns: 1fr; }
  .landing__proof { grid-template-columns: 1fr; }
}

.auth-page {
  padding: 2.2rem 0 1rem;
}

.auth-page__container {
  max-width: 560px;
}

.auth-card {
  padding: 1.4rem;
}

.auth-card h1 {
  margin: .55rem 0 0;
  font-size: 1.65rem;
}

.auth-card__lead {
  margin: .65rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  margin-top: 1.1rem;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .92rem;
}

.auth-checkbox input {
  width: auto;
}

.auth-hint {
  display: block;
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .82rem;
}

.auth-card__links {
  margin-top: .65rem;
}

.auth-links .button {
  width: 100%;
}

.auth-text-link {
  color: var(--primary);
  font-size: .9rem;
  text-align: center;
}

.alert ul {
  margin: .5rem 0 0;
  padding-left: 1rem;
}


.nav--landing {
  align-items: center;
}

.button--small {
  padding: .45rem .7rem;
  font-size: .85rem;
}


.landing-family {
  padding: 0 0 2rem;
}

.landing-family__hero-wrap {
  background: linear-gradient(90deg, #d08688 0%, #d99a98 30%, #e1ada8 60%, #e9bbb6 100%);
  min-height: calc(100svh - 76px);
  padding: 2rem 0 2.3rem;
}

.landing-family__hero {
  text-align: center;
  color: #fff;
  position: relative;
}

.landing-family__hero-gallery {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 7.4;
  margin: 0 auto 1rem;
}

.landing-family__hero-bubble {
  position: absolute;
  border-radius: 999px;
  overflow: hidden;
  /*box-shadow: 0 16px 32px rgba(15, 23, 42, .18);*/
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  filter: blur(8px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), filter .9s cubic-bezier(.22, 1, .36, 1);
}

.landing-family__hero-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.landing-family__hero-bubble--interactive {
  transition: filter .25s ease, transform .25s ease;
}

.landing-family__hero-bubble--interactive:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .landing-family__hero-bubble {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.landing-family__hero-gallery-tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(15, 23, 42, .18));
  transform: scale(1.04);
  transform-origin: center;

}

.landing-family__hero-bubble--2 {
  width: 24%;
  left: 14%;
  top: 20%;
}

.landing-family__hero-bubble--1 {
  width: 24%;
  left: 58%;
  top: 20%;
}

.landing-family__hero-bubble--3 {
  width: 15%;
  right: 8%;
  top: 19%;
}

.landing-family__hero-bubble--4 {
  width: 16%;
  left: 4%;
  bottom: 54%;
}

.landing-family__hero-bubble--5 {
  width: 29%;
  left: 33%;
  bottom: 37%;
}

.landing-family__hero-bubble--5.is-visible {
  transform-origin: center;
  transform: translateY(0) scale(calc(1.75 - (var(--hero-center-progress, 0) * 0.75)));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .9s cubic-bezier(.22, 1, .36, 1), filter .9s cubic-bezier(.22, 1, .36, 1);
}

.landing-family__hero-bubble--6 {
  width: 7%;
  right: 35%;
  bottom: 24%;
  opacity: 0.85;
}

.landing-family__hero-bubble--7 {
  width: 11%;
  left: 11%;
  top: 57%;
}

.landing-family__hero-bubble--8 {
  width: 11%;
  right: 15%;
  top: 57%;
}

.landing-family__cloud {
  height: 74px;
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-bottom: .9rem;
}

.landing-family__cloud span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .15);
}

.landing-family__eyebrow {
  color: #e0f2fe;
}

.landing-family h1 {
  margin: .5rem auto 0;
  max-width: 16ch;
  color: #fff;
  font-size: 72px;
  line-height: 1.08;
  font-weight: bold;
  font-family: SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
}

.landing-family .landing__lead {
  margin: .8rem auto 0;
  color: #e0f2fe;
  max-width: 62ch;
}

.landing-family__actions {
  justify-content: center;
}

.landing-family__actions .button {
  background-color: #f3ece2;
  color: #5e3211;
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(2, 132, 199, .25);
}

.landing-family__actions .button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
  box-shadow: none;
}

.landing-family__offers {
  margin-top: 120px;
  display: grid;
  gap: .7rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.landing-family__offers-paid {
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 26px;
  padding: 0;
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-family__section--hero-details {
  padding-top: 2rem;
  background: linear-gradient(90deg, #d08688 0%, #d99a98 30%, #e1ada8 60%, #e9bbb6 100%);
}

.landing-family__lead-after-hero {
  margin: 0 auto;
  max-width: 62ch;
  color: #475569;
  text-align: center;
}

.landing-family__offers article {
  border-radius: 24px;
  color: #0f172a;
  padding: 1.8rem 1.5rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.landing-family__offers .offer-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .7);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: 0 14px 34px rgba(148, 63, 38, .14);
}

.landing-family__offers .offer-card--free {
  background: linear-gradient(180deg, #f8fafc 0%, #fef2f2 100%);
}

.landing-family__offers .offer-card--pro {
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.landing-family__offers .offer-card--yearly {
  border-color: rgba(13, 148, 136, .25);
  background: linear-gradient(180deg, #f0fdfa 0%, #fefce8 100%);
}

.landing-family__offers .offer-card--yearly::before {
  content: "Le plus rentable";
  position: absolute;
  top: -12px;
  right: 16px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .35rem .75rem;
}

.landing-family__offers h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #7c2d12;
}

.landing-family__offers .offer-card__description {
  margin: .55rem 0 .35rem;
  font-size: 1.05rem;
  color: #64748b;
}

.landing-family__offers .offer-card__benefits {
  list-style: none;
  margin: .75rem 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  text-align: left;
}

.landing-family__offers .offer-card__benefits li {
  position: relative;
  padding-left: 1.4rem;
  color: #475569;
  font-size: .98rem;
  line-height: 1.4;
}

.landing-family__offers .offer-card__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .37rem;
  width: .68rem;
  height: .68rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #fb7185);
}

.landing-family__offers strong {
  margin-top: auto;
  padding-top: .75rem;
  font-size: 2.2rem;
  line-height: 1.1;
  color: #0f766e;
}

.landing-family__offers .offer-note,
.landing-family__offers .offer-discount {
  margin-top: .45rem;
  font-size: .9rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.landing-family__offers .offer-note::before {
  content: "•";
  color: #f97316;
  font-weight: 700;
}

.landing-family__offers .offer-discount {
  color: #0f766e;
  font-weight: 700;
}

.landing-family__section {
  padding: 2.2rem 0;
}

.landing-family__section--light {
  background: #eef0f4;
}

.landing-family__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.landing-family__split h2,
.landing-family__section h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.1;
}

.landing-family__split p {
  margin: .8rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.landing-family__photo {
  min-height: 250px;
  border-radius: 16px;
  border: 3px solid #0f172a;
  background: linear-gradient(140deg, #cbd5e1, #e2e8f0 45%, #93c5fd 100%);
}

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

.landing-family__tile {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
}

.landing-family__tile h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.landing-family__tile p {
  margin: .55rem 0 0;
  color: #64748b;
}

.landing-family__tile--accent {
  background: #19a3e8;
  border-color: #19a3e8;
}

.landing-family__tile--accent h3,
.landing-family__tile--accent p {
  color: #fff;
}

.landing-family__section--blue {
  background: linear-gradient(180deg, #1187d6 0%, #0f7dcb 100%);
}

.landing-family__section--blue h2 {
  color: #fff;
}

.landing-family__quotes {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.landing-family__quotes article {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  padding: 1rem;
  color: #f8fafc;
}

.landing-family__quotes p {
  margin: 0;
}

.landing-family__quotes span {
  display: block;
  margin-top: .55rem;
  opacity: .9;
  font-size: .85rem;
}

.landing-family__pricing {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.landing-family__pricing article {
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 30px;
  text-align: center;
  padding: 2.6rem 2rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-family__pricing .is-featured {
  border-color: #0ea5e9;
  box-shadow: 0 10px 26px rgba(14, 165, 233, .2);
}

.landing-family__pricing h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.75rem;
}

.landing-family__pricing .price {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: #0369a1;
  font-weight: 700;
}

.landing-family__pricing article p:not(.price) {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.35;
}

@media (max-width: 800px) {
  .landing-family__offers,
  .landing-family__offers-paid,
  .landing-family__grid,
  .landing-family__quotes,
  .landing-family__pricing,
  .landing-family__split {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 760px) {
  .landing-family__hero-wrap {
    min-height: calc(100svh - 68px);
  }
}

.ingredient-new {
  padding: 1.6rem 0 0.8rem;
  max-width: 900px;
}

.ingredient-new__hero {
  margin-bottom: 1rem;
  padding: 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid #dbe5f0;
  background: linear-gradient(140deg, #ffffff 0%, #f4f8fd 100%);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.ingredient-new__eyebrow {
  margin: 0;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5f6f85;
  font-weight: 700;
}

.ingredient-new__hero h1 {
  margin: .35rem 0 0;
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  color: #0f172a;
}

.ingredient-new__hero > p {
  margin: .65rem 0 0;
  max-width: 64ch;
  color: #475569;
  line-height: 1.55;
}

.ingredient-form {
  padding: 1.1rem;
  border-radius: 1.1rem;
}

.ingredient-form__section {
  border: 1px solid #e6edf6;
  border-radius: 0.95rem;
  background: #fcfdff;
  padding: 1rem;
}

.ingredient-form__section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.ingredient-form__section-head p {
  margin: .35rem 0 0;
  font-size: .9rem;
  color: #64748b;
}

.ingredient-form input,
.ingredient-form select {
  border-radius: 10px;
  border-color: #cfd9e5;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ingredient-form input:focus,
.ingredient-form select:focus {
  outline: none;
  border-color: #7aa2d3;
  box-shadow: 0 0 0 4px rgba(122, 162, 211, 0.18);
}

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

.ingredient-form__allergen-item {
  position: relative;
}

.ingredient-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ingredient-form__allergen-label {
  display: block;
  border: 1px solid #d6e0ec;
  border-radius: 999px;
  padding: .5rem .75rem;
  font-size: .88rem;
  color: #334155;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}

.ingredient-form__checkbox:checked + .ingredient-form__allergen-label {
  border-color: #7aa2d3;
  background: #eaf3ff;
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(122, 162, 211, 0.35);
}

.ingredient-form__actions {
  margin-top: .35rem;
}

@media (max-width: 840px) {
  .ingredient-form__allergen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-form__metrics {
    grid-template-columns: 1fr;
  }
}
