:root {
  --sage: #97ab67;
  --sage-deep: #6c8644;
  --sage-soft: #c8d3a4;
  --cream: #f7f6ff;
  --cream-deep: #f0eef8;
  --white: #ffffff;
  --ink: #211c22;
  --muted: #7b727a;
  --line: rgba(42, 33, 36, 0.1);
  --accent: #7faa3d;
  --accent-deep: #658b2d;
  --card-shadow: 0 26px 60px rgba(109, 121, 78, 0.18);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #9cb26e 0%, #91a862 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  appearance: none;
}

.cookie-slot:empty {
  display: none;
}

.site-shell {
  width: min(1280px, calc(100% - 34px));
  margin: 0 auto;
  padding: 18px 0 52px;
}

.site-frame {
  padding: 28px 28px 40px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.site-brand__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4f1ff, #ffffff);
  border: 1px solid rgba(71, 59, 45, 0.08);
  box-shadow: 0 8px 18px rgba(40, 36, 42, 0.08);
  font-size: 1rem;
}

.site-brand__text {
  font-size: 1.16rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-pill,
.button-primary,
.button-outline,
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
}

.login-pill {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(71, 59, 45, 0.08);
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.button-primary {
  padding: 0 22px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 16px 26px rgba(111, 150, 43, 0.25);
}

.button-outline {
  padding: 0 20px;
  border: 1px solid rgba(43, 35, 38, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: #5c4f55;
}

.site-main {
  display: grid;
  gap: 34px;
  margin-top: 24px;
}

.hero {
  display: grid;
  grid-template-columns: 84px minmax(0, 0.88fr) minmax(380px, 0.92fr);
  gap: 22px;
  align-items: center;
}

.social-rail {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-self: stretch;
  padding-top: 70px;
  color: #4f4247;
}

.social-rail__links {
  display: grid;
  gap: 14px;
  font-size: 0.86rem;
}

.social-rail__vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #8e868d;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero-copy h1,
.section-head h2,
.inner-hero h1,
.info-panel h3,
.footer-grid h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.96;
  font-weight: 500;
}

.hero-copy p,
.section-head p,
.info-panel p,
.inner-hero p,
.footer-grid p,
.footer-grid a,
.detail-list,
.field span,
.checkbox-field span {
  color: var(--muted);
  line-height: 1.72;
}

.metric-row {
  display: flex;
  gap: 22px;
  color: #5b5558;
  font-size: 0.92rem;
}

.metric-row strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.12rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dish-stage {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dish-stage__image,
.card-review {
  position: absolute;
}

.dish-stage__image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 34px rgba(67, 60, 69, 0.12));
}

.card-review {
  width: 172px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 28px rgba(82, 78, 86, 0.16);
}

.card-review--left {
  left: 92px;
  bottom: 116px;
}

.card-review--right {
  right: 76px;
  bottom: 64px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #dca28d, #7e4336);
}

.review-head strong {
  display: block;
  font-size: 0.9rem;
}

.review-head span,
.review-text,
.review-stars {
  color: var(--muted);
  font-size: 0.78rem;
}

.review-stars {
  color: #d09d31;
  letter-spacing: 0.08em;
}

.course-strip {
  display: grid;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 999px 999px 26px 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--card-shadow);
}

.course-strip__row {
  display: grid;
  grid-template-columns: 150px repeat(4, minmax(0, 1fr)) 80px;
  gap: 16px;
  align-items: center;
}

.course-intro {
  color: #b0a8b0;
  font-size: 0.86rem;
}

.mini-course {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mini-course div,
.hero-copy,
.course-card,
.info-panel,
.faq-card,
.contact-panel {
  min-width: 0;
}

.mini-course__thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 10px 16px rgba(82, 105, 35, 0.14);
}

.course-strip__row .mini-course:nth-child(2) .mini-course__thumb { background-image: url("../img/thumb-feta-salad.png"); }
.course-strip__row .mini-course:nth-child(3) .mini-course__thumb { background-image: url("../img/thumb-pumpkin-soup.png"); }
.course-strip__row .mini-course:nth-child(4) .mini-course__thumb { background-image: url("../img/thumb-chicken-wings.png"); }
.course-strip__row .mini-course:nth-child(5) .mini-course__thumb { background-image: url("../img/hero-blueberry-pancakes.png"); }

.mini-course strong {
  display: block;
  font-size: 0.94rem;
  white-space: normal;
}

.mini-course span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: normal;
}

.section {
  display: grid;
  gap: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.section-kicker {
  margin: 0 0 6px;
  color: #85974d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.course-grid,
.info-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.course-card,
.info-panel,
.faq-card,
.contact-panel,
.footer-grid,
.inner-hero {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(33, 28, 34, 0.06);
  box-shadow: var(--card-shadow);
}

.course-card,
.info-panel,
.faq-card,
.contact-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.course-visual {
  height: 220px;
  margin-bottom: 16px;
  border-radius: 22px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.course-grid .course-card:nth-child(1) .course-visual { background-image: url("../img/hero-blueberry-pancakes.png"); }
.course-grid .course-card:nth-child(2) .course-visual { background-image: url("../img/thumb-pumpkin-soup.png"); }
.course-grid .course-card:nth-child(3) .course-visual { background-image: url("../img/thumb-chicken-wings.png"); }

.course-card h3,
.info-panel h3,
.faq-card h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.info-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.detail-list {
  padding-left: 18px;
}

.detail-list li + li {
  margin-top: 8px;
}

.inner-page {
  display: grid;
  gap: 24px;
}

.inner-hero {
  padding: 30px;
  border-radius: 28px;
}

.inner-hero__row {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 22px;
  align-items: end;
}

.contact-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(33, 28, 34, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  outline: 0;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
}

.site-footer {
  margin-top: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 0.8fr));
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.footer-grid a {
  display: block;
}

.footer-grid a + a {
  margin-top: 8px;
}

@media (max-width: 1120px) {
  .hero,
  .info-grid,
  .inner-hero__row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-strip__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav,
  .header-actions .login-pill {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav {
    display: none;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--card-shadow);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .course-strip__row,
  .hero,
  .course-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .social-rail {
    display: none;
  }

  .dish-stage {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100%, calc(100% - 12px));
  }

  .site-brand__text {
    font-size: 0.98rem;
  }

  .site-frame,
  .course-strip,
  .course-card,
  .info-panel,
  .faq-card,
  .contact-panel,
  .inner-hero,
  .footer-grid {
    padding: 18px;
  }

  .hero-copy h1,
  .section-head h2,
  .inner-hero h1 {
    font-size: 2rem;
    line-height: 1.02;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dish-stage {
    min-height: 360px;
  }

  .card-review {
    width: 136px;
    padding: 12px;
  }

  .card-review--left {
    left: 18px;
    bottom: 114px;
  }

  .card-review--right {
    right: 18px;
    bottom: 50px;
  }
}

.yw-body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #302b33;
  background: linear-gradient(180deg, #dfeaf7 0%, #d4e2f3 100%);
  overflow-x: hidden;
}

.yw-shell {
  width: min(1320px, calc(100% - 34px));
  padding: 28px 0 56px;
}

.yw-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.yw-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
  color: #ff6a3d;
}

.yw-brand--footer {
  font-size: 2rem;
}

.yw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #665f69;
}

.yw-nav a {
  font-size: 0.94rem;
  font-weight: 600;
}

.yw-nav a.is-active,
.yw-nav a:hover {
  color: #1e1a22;
}

.yw-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yw-login,
.yw-outline,
.yw-signup-form button,
.yw-toggle,
.mobile-nav--yw .mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.yw-login {
  min-height: 46px;
  padding: 0 18px;
  background: #ff7f5a;
  color: #fff;
  box-shadow: 0 12px 24px rgba(71, 76, 96, 0.08);
  font-weight: 700;
}

.yw-login--ghost {
  background: rgba(255, 255, 255, 0.82);
  color: #2d2830;
}

.yw-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.yw-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #27232b;
}

.mobile-nav--yw {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(88, 86, 110, 0.12);
}

.mobile-nav--yw .mobile-nav__cta {
  min-height: 46px;
  margin-top: 8px;
  background: #ff7f5a;
  color: #fff;
  font-weight: 700;
}

.yw-main {
  display: grid;
  gap: 44px;
  margin-top: 28px;
}

.yw-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 720px;
}

.yw-hero__copy {
  max-width: 420px;
  display: grid;
  gap: 24px;
  padding-left: 12px;
}

.yw-hero__copy h1,
.yw-section__head h2,
.yw-panel h2,
.yw-panel h3,
.yw-footer h3 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.03em;
}

.yw-hero__copy h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.94;
  color: #1f1b22;
}

.yw-hero__copy p,
.yw-panel p,
.yw-recipe-card p,
.yw-footer p,
.yw-footer a,
.yw-signup-form input,
.yw-list-item span,
.yw-newsletter-card span,
.yw-mini-card span {
  color: #655f68;
  line-height: 1.72;
}

.yw-script-kicker {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: #ef7f57;
}

.yw-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.yw-badges span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(87, 86, 106, 0.1);
  font-weight: 800;
  font-size: 0.95rem;
}

.yw-badges span:nth-child(1) { color: #7d57c0; }
.yw-badges span:nth-child(2) { color: #ff7d58; }
.yw-badges span:nth-child(3) { color: #f0b03c; }
.yw-badges span:nth-child(4) { color: #34a4a7; }
.yw-badges span:nth-child(5) { color: #eb6391; }

.yw-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.yw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
}

.yw-cta--primary {
  background: linear-gradient(180deg, #ff8b5f, #ff6a3d);
  color: #fff;
  box-shadow: 0 16px 28px rgba(255, 112, 71, 0.24);
}

.yw-cta--secondary {
  border: 1px solid rgba(47, 41, 51, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: #474049;
}

.yw-devices {
  position: relative;
  min-height: 700px;
}

.yw-device {
  position: absolute;
  top: 0;
  width: 280px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 60px rgba(82, 90, 112, 0.16);
  overflow: hidden;
}

.yw-device--left {
  left: 2%;
  top: 150px;
  transform: rotate(-5deg);
}

.yw-device--center {
  left: 26%;
  top: 70px;
  z-index: 2;
  transform: rotate(-1deg);
}

.yw-device--right {
  right: 0;
  top: 24px;
  transform: rotate(6deg);
}

.yw-device__screen {
  padding: 18px 18px 22px;
  background: linear-gradient(180deg, #ffffff, #fff8f5);
}

.yw-mini-logo {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #211c22;
}

.yw-device__hero {
  height: 168px;
  margin-top: 16px;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.yw-device__hero--berry {
  background-image: url("../img/thumb-chicken-wings.png");
}

.yw-device__hero--pancake {
  background-image: url("../img/hero-blueberry-pancakes.png");
}

.yw-device__hero--cake {
  background-image: url("../img/thumb-feta-salad.png");
}

.yw-mini-card,
.yw-newsletter-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffe2d8;
}

.yw-mini-card strong,
.yw-newsletter-card strong,
.yw-list-item strong {
  display: block;
  color: #28232b;
}

.yw-device__stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.yw-chip-card,
.yw-grid__tile {
  border-radius: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.yw-chip-card {
  height: 86px;
  background-image: url("../img/thumb-feta-salad.png");
}

.yw-chip-card--soup {
  background-image: url("../img/thumb-pumpkin-soup.png");
}

.yw-section-label {
  margin-top: 16px;
  color: #938c96;
  font-size: 0.8rem;
  font-weight: 700;
}

.yw-list-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.yw-list-item__thumb {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.yw-list-item__thumb--green {
  background-image: url("../img/thumb-feta-salad.png");
}

.yw-list-item__thumb--orange {
  background-image: url("../img/thumb-pumpkin-soup.png");
}

.yw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.yw-grid__tile {
  height: 88px;
  background-image: url("../img/thumb-feta-salad.png");
}

.yw-grid__tile--dark {
  background-image: url("../img/thumb-chicken-wings.png");
}

.yw-grid__tile--warm {
  background-image: url("../img/hero-blueberry-pancakes.png");
}

.yw-grid__tile--soft {
  background-image: url("../img/thumb-pumpkin-soup.png");
}

.yw-section {
  display: grid;
  gap: 24px;
}

.yw-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.yw-section__head--center {
  justify-content: center;
  text-align: center;
}

.yw-kicker {
  margin: 0 0 8px;
  color: #e28568;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.yw-text-link {
  color: #f07d56;
  font-weight: 700;
}

.yw-section__head h2,
.yw-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  color: #1f1b22;
}

.yw-outline {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(47, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #474049;
  font-weight: 700;
}

.yw-card-grid,
.yw-section--split,
.yw-footer {
  display: grid;
  gap: 20px;
}

.yw-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.yw-category-card {
  padding: 18px 14px;
  text-align: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 32px rgba(86, 91, 108, 0.08);
}

.yw-category-card__image {
  width: 104px;
  height: 104px;
  margin: 0 auto 14px;
  border-radius: 50%;
}

.yw-category-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #24202a;
}

.yw-category-card span {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 240, 233, 0.84);
  color: #8a7a79;
  font-size: 0.82rem;
  font-weight: 600;
}

.yw-section__link-row {
  display: flex;
  justify-content: center;
}

.yw-news-banner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(232,242,255,0.92));
  box-shadow: 0 20px 36px rgba(86, 91, 108, 0.08);
}

.yw-news-banner h2 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  color: #232028;
}

.yw-news-banner p {
  color: #69636c;
  line-height: 1.7;
}

.yw-signup-form--banner {
  align-items: center;
}

.yw-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yw-recipe-card,
.yw-panel,
.yw-footer {
  min-width: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 40px rgba(86, 91, 108, 0.08);
}

.yw-recipe-card {
  padding: 18px;
}

.yw-recipe-card__image {
  height: 210px;
  border-radius: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.yw-recipe-card__image--salad { background-image: url("../img/thumb-feta-salad.png"); }
.yw-recipe-card__image--soup { background-image: url("../img/thumb-pumpkin-soup.png"); }
.yw-recipe-card__image--dessert { background-image: url("../img/hero-blueberry-pancakes.png"); }
.yw-recipe-card__image--toast { background-image: url("../img/thumb-chicken-wings.png"); }

.yw-recipe-card h3,
.yw-panel h3 {
  margin: 16px 0 8px;
  color: #231f27;
  font-size: 1.18rem;
}

.yw-section--split {
  grid-template-columns: 1.04fr 0.96fr;
}

.yw-panel {
  padding: 28px;
}

.yw-panel--newsletter {
  background: linear-gradient(180deg, #fff3ed, #ffe5db);
}

.yw-signup-form {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.yw-signup-form input {
  flex: 1;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(47, 41, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.yw-signup-form button {
  min-width: 110px;
  min-height: 50px;
  border: 0;
  background: #ff7f5a;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.yw-footer {
  grid-template-columns: 1.15fr repeat(3, minmax(0, 0.7fr));
  padding: 28px;
}

.yw-footer a {
  display: block;
  color: #655f68;
}

.yw-footer a + a {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .yw-hero,
  .yw-section--split,
  .yw-footer,
  .yw-news-banner {
    grid-template-columns: 1fr;
  }

  .yw-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yw-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yw-devices {
    min-height: 820px;
  }

  .yw-device--left {
    left: 0;
  }

  .yw-device--center {
    left: 24%;
  }
}

@media (max-width: 860px) {
  .yw-nav,
  .yw-login {
    display: none;
  }

  .yw-toggle {
    display: inline-block;
  }

  .mobile-nav--yw.is-open {
    display: grid;
  }

  .yw-header {
    grid-template-columns: auto 1fr auto;
  }

  .yw-brand {
    font-size: 2.35rem;
  }

  .yw-hero,
  .yw-card-grid,
  .yw-signup-form {
    grid-template-columns: 1fr;
  }

  .yw-hero {
    min-height: auto;
  }

  .yw-hero__copy {
    max-width: none;
    padding-left: 0;
  }

  .yw-devices {
    min-height: 1080px;
  }

  .yw-device {
    width: min(86vw, 320px);
  }

  .yw-device--left {
    left: 0;
    top: 220px;
  }

  .yw-device--center {
    left: 12%;
    top: 80px;
  }

  .yw-device--right {
    right: 0;
    top: 0;
  }

  .yw-section__head {
    align-items: start;
    flex-direction: column;
  }

  .yw-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .yw-shell {
    width: calc(100% - 18px);
    padding-top: 18px;
  }

  .yw-hero__copy h1 {
    font-size: 2.6rem;
  }

  .yw-devices {
    min-height: 1180px;
  }

  .yw-device {
    position: relative;
    width: 100%;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 18px;
    transform: none;
  }

  .yw-card-grid,
  .yw-footer,
  .yw-category-grid {
    grid-template-columns: 1fr;
  }

  .yw-signup-form {
    display: grid;
  }
}
