/* Delixio Design System */
:root {
  --color-primary: #fa5f06;
  --color-primary-dark: #4c2009;
  --color-primary-light: rgba(250, 95, 6, 0.06);
  --color-primary-border: rgba(250, 95, 6, 0.27);
  --color-text: #4c2009;
  --color-text-muted: #a2a1a1;
  --color-white: #ffffff;
  --color-footer-bg: #fdf7ee;
  --color-card-beige: #eee7cf;
  --color-card-yellow: #fdecd4;
  --color-card-green: #e7f0d9;
  --color-card-pink: #fee3d2;
  --gradient-cta: linear-gradient(to right, #fa5f06, #fd7e20);
  --font-heading: "Quicksand", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --container-max: 1920px;
  --container-inner: 1809px;
  --hero-height: 971px;
  --space-tag-title: 39px;
  --space-section: 58px;
  --space-section-lg: 90px;
  --space-cta: 96px;
  --space-footer: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
.hero-visual img,
.hero-visual .hero-phones-wrap,
.logo img { max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(var(--container-inner), calc(100% - 110px)); margin-inline: auto; }

.site-header { position: relative; z-index: 100; padding: 51px 0 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(var(--container-inner), calc(100% - 110px)); }
.logo img { width: 208px; height: 77px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 201px; }
.nav-links { display: flex; align-items: center; gap: 68px; list-style: none; margin: 0; padding: 0; font-size: 30px; font-weight: 500; line-height: 37px; }
.nav-links a:hover { color: var(--color-primary); }
.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--color-text); border-radius: 2px; }

.hero { position: relative; overflow: hidden; margin-top: -128px; padding-top: 128px; padding-bottom: 0; }
.hero-bg { position: absolute; inset: 0 0 auto; height: var(--hero-height); pointer-events: none; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-stage {
  position: relative;
  z-index: 1;
  width: min(var(--container-max), 100%);
  max-width: 1920px;
  margin: 0 auto;
  min-height: calc(var(--hero-height) - 128px);
}
.hero-content {
  position: relative;
  z-index: 5;
  width: 655px;
  max-width: 42%;
  margin-left: clamp(16px, 3.7vw, 71px);
  padding-top: 76px;
}
.hero-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 243px; height: 54px;
  border: 1px solid var(--color-primary); border-radius: 27px;
  color: var(--color-primary); font-size: 30px; font-weight: 500; line-height: 38px;
  margin-bottom: 37px;
}
.hero-title {
  margin: 0 0 34px;
  font-family: var(--font-heading);
  font-size: 70px; font-weight: 700; line-height: 79px;
  color: var(--color-text);
}
.hero-title .hero-brand { color: var(--color-primary); }
.hero-title .hero-dinner {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-dinner-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-dinner-line {
  position: absolute;
  left: -2px;
  bottom: -4px;
  width: calc(100% + 4px);
  height: 8px;
  max-width: none;
}
.hero-dinner-sparkle {
  position: absolute;
  left: calc(100% + 8px);
  top: -32px;
  width: 54px;
  height: auto;
  max-width: none;
}
.hero-subtitle {
  margin: 0 0 37px; max-width: 553px;
  font-size: 25px; font-weight: 500; line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 70px; }
.hero-actions .btn { width: 240px; height: 56px; padding: 0 24px; border-radius: 35.892px; }
.store-badge {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  width: 196px;
  height: 56px;
}
.store-badge img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
.hero-social { display: flex; align-items: center; gap: 24px; }
.hero-avatars { display: flex; align-items: center; }
.hero-avatars .avatar { position: relative; width: 72px; height: 72px; margin-left: -22px; }
.hero-avatars .avatar:first-child { margin-left: 0; }
.hero-avatars .avatar-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-avatars .avatar-photo { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; object-fit: cover; }
.hero-social-text { font-size: 25px; line-height: 1.2; }
.hero-social-text strong { display: block; font-weight: 700; }
.hero-social-text span { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.hero-social-text img { width: 30px; height: 28px; }

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-visual-scene {
  position: absolute;
  inset: 0;
}
.hero-phones-wrap {
  position: absolute;
  left: 50.15%;
  top: 4.94%;
  width: 43.06%;
  height: 80.7%;
  overflow: hidden;
}
.hero-phones-main {
  position: absolute;
  top: 0;
  left: -19.97%;
  width: 141.11%;
  height: 111.63%;
  max-width: none;
  object-fit: cover;
}
.hero-phones-shadow {
  position: absolute;
  left: 46.41%;
  top: 73.95%;
  width: 50.76%;
  height: auto;
  max-width: none;
}
.hero-character {
  position: absolute;
  left: 76.16%;
  top: calc(44.03% - 5px);
  width: 22.13%;
  max-width: none;
  z-index: 4;
}
.hero-ingredient {
  position: absolute;
  max-width: none;
  z-index: 3;
  transform: rotate(11.02deg);
}
.hero-ingredient--tomato { left: 44.7%; top: 37.9%; width: 10.43%; }
.hero-ingredient--basil { left: 59.6%; top: calc(8.03% - 45px); width: 10.43%; z-index: 5; }
.hero-ingredient--pepper { left: 42%; top: 63.7%; width: 12.64%; z-index: 2; }
.hero-ingredient--spice { left: 90.9%; top: 23.2%; width: 8.82%; }

.section-tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border: 1px solid var(--color-primary); border-radius: 35px;
  background: var(--color-primary-light); color: var(--color-primary);
  font-size: clamp(16px, 1.6vw, 30px); font-weight: 500; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.section-title { margin: 0; font-family: var(--font-heading); font-size: clamp(36px, 4vw, 70px); font-weight: 700; line-height: 1.1; text-align: center; }
.section-title .highlight { color: var(--color-primary); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 27px; border-radius: 36px; font-size: 16px; font-weight: 700; line-height: 1; transition: transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(250, 95, 6, 0.35); }
.btn-secondary { background: var(--color-white); color: var(--color-text); }
.btn-lg { padding: 18px 32px; font-size: 28px; font-weight: 400; border-radius: 46px; }
.btn-arrow img { width: 30px; height: 30px; }
.btn-play { gap: 15px; }
.btn-play-icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; }
.btn-play-icon img:first-child { width: 100%; height: 100%; }
.btn-play-icon img:last-child { position: absolute; inset: 3px 3px 3px 8px; width: calc(100% - 11px); height: calc(100% - 6px); }
.btn-nav { width: 285px; height: 66px; padding: 15px 25px; font-size: 30px; font-weight: 400; line-height: 35px; border-radius: 33px; }

.how-it-works,
.why-delixio,
.use-cases,
.features-list,
.cta-banner {
  padding-left: 0;
  padding-right: 0;
}

.how-it-works {
  margin-top: -11px;
  padding-top: 0;
  padding-bottom: 0;
}

.why-delixio,
.use-cases,
.features-list {
  padding-top: var(--space-section);
  padding-bottom: 0;
}

.cta-banner {
  padding-top: var(--space-cta);
  padding-bottom: var(--space-footer);
  overflow: visible;
}

.cta-banner .container {
  overflow: visible;
}

/* CTA banner — Figma 1722×427, flex center + absolute illustrations */
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 427px;
  padding: 80px clamp(16px, 3.5vw, 60px) 38px;
  border-radius: 20px;
  background: var(--gradient-cta);
  overflow: visible;
  container-type: inline-size;
}

.cta-content {
  position: relative;
  z-index: 2;
  width: min(1042px, 60.51%);
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  margin: 0 0 clamp(32px, 14.05cqw, 60px);
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.06cqw, 70px);
  font-weight: 700;
  line-height: 0.986;
  color: var(--color-white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  display: inline-flex;
  width: min(377px, 100%);
  min-height: 92px;
  padding: 22px 48px;
  border-radius: 46px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: clamp(18px, 1.63cqw, 28px);
  font-weight: 400;
  gap: 16px;
}

.cta-btn.btn-arrow img {
  width: clamp(28px, 2.44cqw, 42px);
  height: clamp(28px, 2.44cqw, 42px);
}

.cta-deco {
  position: absolute;
  left: calc(100% + 24px);
  top: -8px;
  width: min(236px, 13.71cqw);
  height: auto;
  max-width: none;
  pointer-events: none;
}

.cta-character {
  position: absolute;
  left: clamp(8px, 0.75%, 13px);
  bottom: 0;
  width: min(397px, 23.05%);
  height: auto;
  max-width: none;
  z-index: 3;
  pointer-events: none;
}

.cta-pasta {
  position: absolute;
  right: clamp(8px, 1.2%, 20px);
  bottom: -4px;
  width: min(463px, 26.89%);
  height: auto;
  max-width: none;
  z-index: 1;
  pointer-events: none;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-tag-title);
  margin-bottom: 65px;
}

.how-it-works .section-header { margin-bottom: 81px; }
.use-cases .section-header,
.features-list .section-header { margin-bottom: var(--space-section-lg); }

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 540px;
  padding: 29px 38px 40px 36px;
  border: 1px solid var(--color-primary-border);
  border-radius: 43px;
  background: var(--color-primary-light);
  text-align: center;
}
.step-number {
  position: absolute;
  top: 29px;
  left: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 33px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.step-image { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 277px; margin-bottom: 8px; }
.step-image img { max-height: 277px; width: auto; object-fit: contain; }
.step-image--bag { position: relative; }
.step-image--bag .bag-shadow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 150px; opacity: 0.6; }
.step-title { margin: 0 0 36px; max-width: 364px; font-size: clamp(22px, 2vw, 40px); font-weight: 700; line-height: 1.22; color: #000; }
.step-desc { margin: 0; max-width: 464px; font-size: clamp(16px, 1.3vw, 25px); line-height: 1.48; }
.step-decor { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 102px; }

.features-panel {
  border: 1px solid var(--color-primary-border);
  border-radius: 43px;
  background: rgba(255, 255, 255, 0.06);
  padding: 64px 40px 20px;
  min-height: 477px;
}
.features-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.feature-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 1px;
  height: calc(100% - 4px);
  background: rgba(250, 95, 6, 0.27);
  pointer-events: none;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 107px;
  margin: 0 auto 75px;
  border: 1px solid var(--color-primary-border);
  border-radius: 14px;
  background: var(--color-primary-light);
  overflow: hidden;
  flex-shrink: 0;
}
.feature-icon img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.feature-title {
  margin: 0 0 18px;
  max-width: 290px;
  font-size: clamp(18px, 1.4vw, 28px);
  font-weight: 700;
  line-height: 1.286;
  color: #000;
}
.feature-desc {
  margin: 0;
  max-width: 262px;
  font-size: clamp(14px, 1.1vw, 21px);
  line-height: 1.571;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.use-case-card {
  position: relative;
  box-sizing: border-box;
  height: 522px;
  padding: 0;
  border-radius: 43px;
  text-align: center;
  overflow: hidden;
}
.use-case-card--beige { background: var(--color-card-beige); }
.use-case-card--yellow { background: var(--color-card-yellow); }
.use-case-card--green { background: var(--color-card-green); }
.use-case-card--pink { background: var(--color-card-pink); }
.use-case-image {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  bottom: 197px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.use-case-image img:not(.use-case-shadow) { max-height: 291px; width: auto; object-fit: contain; }
.use-case-shadow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 128px; height: 35px; opacity: 0.5; object-fit: contain; }
.use-case-text {
  position: absolute;
  left: 50%;
  bottom: 67px;
  transform: translateX(-50%);
  width: min(346px, calc(100% - 56px));
  height: 111px;
  margin: 0;
  font-size: 28px;
  line-height: 33px;
}

.features-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 80px 32px;
  align-items: start;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 41px;
  min-height: 107px;
}
.feature-row-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 107px;
  border: 1px solid var(--color-primary-border);
  border-radius: 14px;
  background: var(--color-primary-light);
  overflow: hidden;
}
.feature-row-icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.feature-row-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 400;
  line-height: 1.32;
  color: var(--color-text);
  text-align: left;
}

.site-footer { background: var(--color-footer-bg); padding: var(--space-footer) 0 40px; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-end { display: flex; align-items: center; gap: clamp(32px, 5vw, 68px); margin-left: auto; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); list-style: none; margin: 0; padding: 0; font-size: clamp(16px, 1.5vw, 30px); color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-primary); }
.footer-social { display: flex; align-items: center; gap: 68px; }
.footer-social a:hover { opacity: 0.75; }
.footer-social img { width: 54px; height: 54px; object-fit: contain; }
.footer-social img.small { width: 44px; height: 44px; }

.legal-page {
  padding: 56px 24px 100px;
}
.legal-page-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(45, 26, 15, 0.06);
  text-align: left;
}
.legal-eyebrow {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal-page h1 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
}
.legal-updated {
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--color-text-muted);
}
.legal-page p {
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--color-text);
}
.legal-page h2 {
  margin: 40px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
.legal-page h3 {
  margin: 24px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}
.legal-page ul {
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.legal-page li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.legal-page li:last-child {
  margin-bottom: 0;
}
.legal-address {
  margin: 0;
  font-style: normal;
  line-height: 1.7;
}
.legal-callout {
  margin: 0 0 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--color-primary);
  background: rgba(254, 247, 238, 0.85);
  border-radius: 0 8px 8px 0;
}
.legal-callout + p {
  margin-top: 16px;
}
.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover {
  color: var(--color-text);
}

.site-header--minimal .container {
  justify-content: flex-start;
}

.page-download {
  background: linear-gradient(145deg, #fef7ee 0%, #fffaf5 38%, var(--color-card-yellow) 72%, rgba(238, 157, 81, 0.22) 100%);
}

.page-download .site-header--minimal {
  background: transparent;
}

.download-page {
  padding: 56px 24px 100px;
  background: transparent;
}
.download-page-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.download-eyebrow {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.download-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-text);
}
.download-lead {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--color-text-muted);
}
.download-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.download-store-badge {
  width: 280px;
  height: 80px;
}
.download-store-badge img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
.download-or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.download-or::before,
.download-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.download-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
}
.download-qr-copy {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 16px;
  min-width: min(100%, 260px);
  max-width: 340px;
}
.download-qr-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.download-qr-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
.download-qr-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.download-qr-code {
  flex-shrink: 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: var(--color-white);
}
.download-qr-code img {
  width: 160px;
  height: 160px;
  max-width: none;
}
.download-devices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}
.download-devices-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}
.download-devices-icons .download-devices-android {
  color: var(--color-primary);
}
.download-devices-icons svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .download-scan {
    display: none;
  }

  .download-badges {
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .download-page {
    padding-top: 32px;
  }

  .download-store-badge {
    width: min(280px, 100%);
    height: 72px;
  }
}

@media (max-width: 1100px) {
  :root {
    --space-section: 40px;
    --space-section-lg: 60px;
    --space-cta: 62px;
  }

  .hero-badge {
    width: auto;
    height: auto;
    padding: 6px 14px;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .hero-dinner-sparkle {
    width: clamp(28px, 7vw, 40px);
    top: -18px;
    left: calc(100% + 4px);
  }

  .hero-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 24px;
  }

  .hero-actions {
    margin-bottom: 28px;
    gap: 12px;
  }

  .hero-social-text {
    font-size: 16px;
  }

  .hero-avatars .avatar {
    width: 56px;
    height: 56px;
    margin-left: -16px;
  }

  .how-it-works {
    margin-top: 0;
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  .features-panel {
    min-height: 0;
    padding: 48px 32px 24px;
  }

  .feature-icon {
    margin-bottom: 48px;
  }

  .feature-item:nth-child(3)::after {
    display: none;
  }

  .feature-item:nth-child(3),
  .feature-item:nth-child(4),
  .feature-item:nth-child(5),
  .feature-item:nth-child(6) {
    padding-top: 0;
  }

  .use-cases-grid,
  .features-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-list-grid {
    gap: 48px 24px;
  }

  .feature-row {
    gap: 32px;
    min-height: 107px;
  }

  .feature-row-text {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.32;
  }

  .use-case-card {
    height: 480px;
  }

  .use-case-image {
    top: 31px;
    bottom: 181px;
  }

  .use-case-text {
    bottom: 62px;
    height: 102px;
    width: min(346px, calc(100% - 48px));
    font-size: 26px;
    line-height: 30px;
  }

  .use-case-image img:not(.use-case-shadow) {
    max-height: 260px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 545px;
    margin-inline: auto;
  }

  .step-decor {
    display: none;
  }

  .cta-deco {
    display: none;
  }

  .cta-inner {
    min-height: 380px;
    padding: 0 16px;
  }

  .cta-content {
    width: min(1042px, 72%);
    padding-bottom: 40px;
  }

  .cta-title {
    margin-bottom: 40px;
    font-size: clamp(28px, 4.06cqw, 56px);
  }
}

@media (max-width: 900px) {
  .cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 48px 24px 28px;
    overflow: hidden;
  }

  .cta-content {
    width: 100%;
    margin-bottom: 28px;
  }

  .cta-title {
    margin-bottom: 32px;
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.05;
  }

  .cta-actions {
    width: 100%;
    max-width: 340px;
  }

  .cta-btn {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    min-height: 72px;
    font-size: 18px;
  }

  .cta-deco {
    display: none;
  }

  .cta-character,
  .cta-pasta {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    max-width: min(220px, 44vw);
  }

  .cta-character {
    align-self: flex-end;
    margin-left: 8px;
  }

  .cta-pasta {
    align-self: flex-end;
    margin-top: -53px;
    margin-right: 8px;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .hero-visual {
    inset: auto 0 10px auto !important;
  }

  .how-it-works .section-header {
    margin-bottom: 48px;
  }

  .step-card {
    min-height: 0;
    padding: 24px 24px 32px;
  }

  .step-number {
    top: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    font-size: 24px;
  }

  .step-image {
    min-height: 220px;
    padding-top: 8px;
  }

  .step-image img {
    max-height: 240px;
  }

  .step-title {
    margin-bottom: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .features-panel {
    padding: 40px 24px 20px;
  }

  .feature-icon {
    width: 96px;
    height: 98px;
    margin-bottom: 32px;
  }

  .feature-title {
    max-width: none;
    margin-bottom: 14px;
  }

  .feature-desc {
    max-width: none;
  }

  .feature-item::after {
    display: none !important;
  }

  .feature-item:nth-child(odd):not(:last-child) {
    border-right: 1px solid rgba(250, 95, 6, 0.27);
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 412px;
    margin-inline: auto;
  }

  .use-case-card {
    height: 460px;
  }

  .use-case-image {
    top: 28px;
    bottom: 164px;
  }

  .use-case-text {
    bottom: 52px;
    height: 96px;
    width: calc(100% - 40px);
    font-size: 24px;
    line-height: 28px;
  }

  .use-case-image img:not(.use-case-shadow) {
    max-height: 220px;
  }

  .features-list-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row {
    gap: 28px;
  }

  .feature-row-text {
    font-size: clamp(17px, 4vw, 20px);
    line-height: 1.35;
  }

  .cta-pasta {
    margin-top: -37px;
  }

  .cta-character,
  .cta-pasta {
    display: none;
  }

  .cta-content {
    margin-bottom: 0;
  }

  .cta-inner {
    padding-bottom: 48px;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-end {
    margin-left: 0;
    justify-content: center;
    gap: 24px;
  }

  .footer-links {
    gap: clamp(20px, 5vw, 32px);
  }
}

@media (max-width: 480px) {
  :root {
    --space-section: 32px;
    --space-section-lg: 48px;
    --space-cta: 46px;
    --space-footer: 20px;
  }

  .container,
  .site-header .container {
    width: calc(100% - 32px);
  }

  .logo img {
    width: 120px;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .features-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .features-panel {
    padding: 32px 16px 24px;
  }

  .feature-item,
  .feature-item:nth-child(3),
  .feature-item:nth-child(4),
  .feature-item:nth-child(5),
  .feature-item:nth-child(6) {
    padding: 36px 16px;
    border-right: none !important;
    border-bottom: 1px solid rgba(250, 95, 6, 0.27);
  }

  .feature-item:first-child {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .feature-item:last-child {
    border-bottom: none;
    padding-bottom: 20px;
  }

  .feature-icon {
    width: 90px;
    height: 92px;
    margin-bottom: 28px;
  }

  .feature-title {
    margin-bottom: 16px;
  }

  .step-card {
    padding: 20px 16px 28px;
  }

  .step-number {
    top: 20px;
    left: 16px;
    width: 52px;
    height: 52px;
    border-radius: 26px;
    font-size: 22px;
  }

  .step-image {
    min-height: 200px;
  }

  .step-image img {
    max-height: 210px;
  }

  .step-title {
    margin-bottom: 20px;
    font-size: clamp(20px, 6vw, 28px);
  }

  .step-desc {
    font-size: clamp(15px, 4vw, 18px);
  }

  .use-case-card {
    height: 420px;
  }

  .use-case-image {
    top: 24px;
    bottom: 142px;
  }

  .use-case-text {
    bottom: 44px;
    height: 84px;
    width: calc(100% - 32px);
    font-size: 20px;
    line-height: 24px;
  }

  .use-case-image img:not(.use-case-shadow) {
    max-height: 200px;
  }
}

/* Phones + iPads (incl. iPad landscape up to 13") — hide hero mockups */
@media (max-width: 1400px) {
  .container,
  .site-header .container {
    width: calc(100% - 40px);
  }

  .site-header {
    padding: 16px 0;
    background: var(--color-white);
  }

  .logo img {
    width: 140px;
    height: auto;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 88px 24px 32px;
    background: var(--color-white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    z-index: 99;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 22px;
  }

  .btn-nav {
    width: 100%;
    height: 56px;
    font-size: 18px;
    justify-content: center;
  }

  .hero-visual,
  .hero-phones-wrap,
  .hero-phones-main,
  .hero-phones-shadow,
  .hero-ingredient {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .hero {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .hero-bg {
    inset: 0;
    height: 100%;
    opacity: 0.85;
  }

  .hero-stage {
    position: relative;
    display: block;
    min-height: clamp(420px, 58vh, 560px);
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 0 clamp(20px, 4vw, 56px);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 32px 0 108px;
    text-align: center;
  }

  .hero-dinner-sparkle {
    display: none;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 0;
  }

  .hero-social {
    position: absolute;
    left: 0;
    bottom: 44px;
    z-index: 3;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    max-width: min(62%, 360px);
    text-align: left;
  }

  .hero-social-text span {
    justify-content: flex-start;
  }

  .hero-visual {
    display: block !important;
    position: absolute !important;
    inset: auto 0 10px auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    z-index: 1;
  }

  .hero-visual-scene {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-character {
    display: block !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(220px, 34vw) !important;
    height: auto !important;
    max-width: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    object-position: bottom;
  }
}

@media (max-width: 1400px) and (min-width: 768px) {
  /* iPad experiment: desktop-like split — text left, scaled phones right */
  .hero-stage {
    min-height: clamp(460px, 50vh, 580px);
    padding: 0 clamp(16px, 3vw, 40px);
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    width: min(500px, 47%);
    max-width: 47%;
    margin: 0;
    padding: 32px 0 36px;
  }

  .hero-badge {
    padding: 8px 16px;
    font-size: clamp(14px, 1.8vw, 22px);
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    max-width: none;
    font-size: clamp(16px, 1.7vw, 20px);
    margin-bottom: 24px;
  }

  .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
  }

  .hero-social {
    position: static;
    left: auto;
    bottom: auto;
    max-width: none;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .hero-social-text {
    font-size: clamp(14px, 1.6vw, 18px);
  }

  .hero-visual {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    z-index: 1;
  }

  .hero-visual-scene {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-character,
  .hero-ingredient,
  .hero-ingredient--tomato,
  .hero-ingredient--basil,
  .hero-ingredient--pepper,
  .hero-ingredient--spice {
    display: none !important;
  }

  .hero-character {
    display: block !important;
    position: absolute !important;
    right: 2% !important;
    bottom: 15px !important;
    left: auto !important;
    top: auto !important;
    width: min(150px, 16vw) !important;
    height: auto !important;
    max-width: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3;
  }

  .hero-social {
    display: flex;
  }

  .hero-phones-wrap {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 50% !important;
    top: 6% !important;
    width: 48% !important;
    height: 82% !important;
    overflow: hidden !important;
    pointer-events: none;
  }

  .hero-phones-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 0 !important;
    left: -16% !important;
    width: 132% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
  }

  .hero-phones-shadow {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 52% !important;
    top: auto !important;
    bottom: 6% !important;
    width: 44% !important;
    height: auto !important;
    max-width: none !important;
    transform: none !important;
  }
}

/* iPhone — compact hero, no chef or testimonials */
@media (max-width: 767px) {
  .hero {
    padding-bottom: 18px;
  }

  .hero-stage {
    min-height: auto;
    padding-bottom: 6px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 32px 0 42px;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 8px;
    gap: 16px;
  }

  .hero-social {
    display: none;
  }

  .hero-visual,
  .hero-visual-scene,
  .hero-character {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .cta-inner {
    padding: 36px 16px 24px;
  }

  .cta-title {
    margin-bottom: 24px;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.12;
  }

  .cta-btn {
    min-height: 64px;
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-inline: 4px;
    padding-bottom: 18px;
  }

  .hero {
    padding-bottom: 6px;
  }
}
