/* Sous Chef brand layer. Loaded after style.css and responsive.css: swaps
   the template's purple for the app's orange and styles the landing page. */
:root {
  --brand: #f58234;
  --brand-dark: #ea590c;
  /* Orange for text on light backgrounds (4.5:1 on white) */
  --brand-ink: #b9470b;
  --brand-tint: #fde8da;
  --cream: #f6f4f0;
  --line: #ebe3d9;
  --ink: #211e18;
  --ink-muted: #5f584e;
}

/* Template palette overrides */
a {
  color: var(--brand-ink);
}
a:hover {
  color: var(--brand-dark);
}
h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
}
.gray-light-bg {
  background: var(--cream);
}
.badge,
.primary-bg,
.badge-primary {
  background: var(--brand-dark);
}
.secondary-bg {
  background: var(--brand);
}
.color-primary,
.color-secondary,
.feature-icon-lg {
  color: var(--brand-ink);
}
.solid-btn {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  font-weight: 600;
  box-shadow: 0 5px 12px 0 rgba(234, 89, 12, 0.25);
}
.solid-btn:hover {
  color: var(--brand-ink);
}
.outline-btn {
  color: var(--brand-ink);
  border-color: var(--brand-dark);
}
.outline-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 20px 30px 0 rgba(234, 89, 12, 0.2);
}
.outline-light-btn:hover,
.google-play-btn,
.app-store-btn:hover {
  color: var(--brand-ink);
}
.dropdown-item:active {
  background: var(--brand-dark);
}
.main-menu ul > li .submenu {
  background-color: #ffffff;
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(33, 30, 24, 0.12);
}
.main-menu ul > li .submenu:before,
.main-menu ul > li .submenu:after {
  border-bottom-color: #ffffff;
}
.main-menu ul > li .submenu > a {
  color: var(--ink);
}
.main-menu ul > li .submenu > a:hover {
  background: var(--cream);
  color: var(--brand-ink);
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.affix {
  background-color: var(--ink);
}
.bg-transparent.affix {
  background-image: none !important;
  background-color: var(--ink) !important;
}
.white-bg.affix ul li a,
.white-bg.affix ul li button.nav-link {
  color: var(--ink) !important;
}
.white-bg.affix ul li a:hover,
.white-bg.affix ul li button.nav-link:hover {
  color: var(--brand-ink) !important;
  opacity: 1;
}
@media (min-width: 320px) and (max-width: 992px) {
  .navbar {
    background: var(--ink) !important;
  }
  .white-bg.navbar .navbar-toggler span {
    color: var(--ink);
  }
}

.background-img:before {
  background-image: linear-gradient(
    135deg,
    rgba(234, 89, 12, 0.96),
    rgba(201, 74, 8, 0.96)
  );
}

.accordion-faq.accordion .card-header:after {
  color: var(--brand-ink);
}
.accordion-faq.accordion .card-header {
  padding-right: 3.5rem;
}
.accordion-faq.accordion .card-header h3 {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}
.accordion-faq.accordion .card-header h3 span {
  flex-shrink: 0;
  font-size: 1.2rem;
}
.accordion-faq.accordion .card-body p {
  margin-bottom: 0;
}
.accordion-faq.accordion .card-header:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: -2px;
}
/* Fixed navbar height, so /#faq and friends don't land under it */
[id] {
  scroll-margin-top: 90px;
}

/* Screenshot gallery: swipe or use the arrows */
.screen-track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 10px 4px 30px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screen-track::-webkit-scrollbar {
  display: none;
}
.screen-track:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 4px;
  border-radius: 12px;
}
.screen-track li {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
}
.screen-track img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(33, 30, 24, 0.14);
}
.screen-gallery-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.screen-gallery-nav button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}
.screen-gallery-nav button:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}
@media (max-width: 991px) {
  .screen-track li {
    flex-basis: calc((100% - 48px) / 3);
  }
}
@media (max-width: 767px) {
  .screen-track li {
    flex-basis: 72%;
  }
}

.footer-brand {
  background: var(--ink);
}

/* Logo mark with the name set beside it */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.brand-lockup img {
  width: auto;
  height: 52px;
}
.brand-name {
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-name em {
  color: var(--brand-dark);
  font-style: normal;
}
.bg-transparent:not(.affix) .brand-name {
  color: #ffffff;
}
/* The mark is drawn on white, and its navy parts vanish on the dark footer */
.brand-lockup-footer img {
  width: 60px;
  height: 60px;
  padding: 7px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
}
.brand-lockup-footer .brand-name {
  color: #ffffff;
}
.brand-lockup-footer .brand-name em {
  color: var(--brand);
}

/* Phone frame around the raw app captures */
.phone-frame {
  display: inline-block;
  width: 270px;
  max-width: 100%;
  padding: 9px;
  background: #1b1a17;
  border-radius: 46px;
  box-shadow: 0 30px 60px rgba(33, 30, 24, 0.18), inset 0 0 0 2px #36332d;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 37px;
}

/* Store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
}
.store-btn:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}
.store-btn > span:first-child {
  font-size: 1.6rem;
}
.store-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
}
.store-buttons-light .store-btn {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}
.store-buttons-light .store-btn:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

/* "New" label */
.new-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* Hero */
.hero-brand {
  background: var(--cream);
  padding: 150px 0 90px;
  overflow: hidden;
}
.new-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.75rem;
  padding: 5px 16px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.new-pill:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}
.new-pill .ti-arrow-right {
  font-size: 0.75rem;
}
.hero-brand h1 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero-brand h1 span {
  color: var(--brand-dark);
}
.hero-brand .lead {
  margin: 1.5rem 0 2rem;
  color: var(--ink-muted);
  font-size: 1.2rem;
}
.hero-note {
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.hero-phones .phone-front {
  position: relative;
  z-index: 2;
  width: 285px;
}
.hero-phones .phone-back {
  position: relative;
  z-index: 1;
  width: 245px;
  margin: 80px 0 0 -70px;
  transform: rotate(4deg);
}

/* Feature rows */
.feature-row {
  padding: 90px 0;
}
.feature-row h2 {
  font-size: 2.3rem;
  font-weight: 700;
}
.feature-row .lead {
  color: var(--ink-muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--brand-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  color: var(--ink);
}
.check-list li:before {
  content: "\e64c";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--brand-dark);
  font-family: themify;
  font-weight: 700;
}
.feature-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Plan, shop and add cards */
.plan-card {
  height: 100%;
  max-height: 560px;
  overflow: hidden;
  padding: 2rem 1.5rem 0;
  border-radius: 24px;
  background: var(--cream);
  text-align: center;
}
.plan-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
.plan-card p {
  color: var(--ink-muted);
}
.plan-card .phone-frame {
  width: 230px;
  margin-top: 0.5rem;
}

/* Household section */
.household-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(33, 30, 24, 0.06);
}
.household-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: 1.25rem;
}
.household-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.household-card p {
  margin: 0;
  color: var(--ink-muted);
}
.data-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0.5rem 0 0;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

/* Download band */
.cta-brand {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #c94a08 100%);
  text-align: center;
}
.cta-brand h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
}
.cta-brand .cta-lead {
  margin-bottom: 2rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
}
.cta-brand .store-buttons {
  justify-content: center;
}

@media (max-width: 991px) {
  .hero-brand {
    padding: 130px 0 70px;
  }
  .hero-brand h1 {
    font-size: 2.5rem;
  }
  .hero-phones {
    margin-top: 3.5rem;
  }
}
@media (max-width: 767px) {
  .feature-row {
    padding: 60px 0;
  }
  .feature-row h2,
  .cta-brand h2 {
    font-size: 1.9rem;
  }
  .phone-frame {
    width: 240px;
  }
}
@media (max-width: 575px) {
  .hero-brand h1 {
    font-size: 2.1rem;
  }
  .hero-phones .phone-front {
    width: 250px;
  }
  .hero-phones .phone-back {
    display: none;
  }
}
