/* BringABite landing — mobile first. Tablet uses the mobile layout; desktop starts at 1024px. Tokens come from organic.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--color-accent-700);
}
a:hover {
  color: var(--color-accent);
}
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
}
.muted {
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}
.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker-terracotta {
  color: var(--color-accent-700);
}
.kicker-sage {
  color: var(--color-accent-2-800);
}

/* Buttons */
.btn-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.btn-pill svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.btn-store {
  background: #fff8ee;
  color: #000;
}
.btn-store:hover {
  background: var(--color-neutral-200);
  color: #000;
}
.btn-accent,
.nav .btn-accent {
  background: #a86030;
  color: #fff8ee;
}
.btn-accent:hover,
.nav .btn-accent:hover {
  background: var(--color-accent-700);
  color: #fff8ee;
}
.btn-outline {
  border: 2px solid #fff8ee;
  color: #fff8ee;
}
.btn-outline:hover {
  background: rgba(255, 248, 238, 0.14);
  color: #fff8ee;
}
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 30, 29, 0.35) 0%,
    rgba(32, 30, 29, 0.45) 40%,
    rgba(32, 30, 29, 0.82) 100%
  );
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 32px;
  background: linear-gradient(
    to bottom,
    rgba(32, 30, 29, 1) 0%,
    rgba(32, 30, 29, 0.97) 15%,
    rgba(32, 30, 29, 0.93) 30%,
    rgba(32, 30, 29, 0.85) 45%,
    rgba(32, 30, 29, 0.7) 60%,
    rgba(32, 30, 29, 0.5) 75%,
    rgba(32, 30, 29, 0.22) 90%,
    rgba(32, 30, 29, 0) 100%
  );
}
.brand {
  font-family: var(--font-heading);
  font-size: 22px;
  text-decoration: none;
}
/* .nav .brand outranks organic.css's .nav a, which would otherwise set the color and a 14px size. */
.nav .brand {
  font-size: 1.5rem;
}
.nav .brand,
.nav .brand:hover {
  color: var(--color-accent-2-400);
}
.nav-links {
  display: none;
}
.nav .btn-pill {
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.hero-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding: 0 20px 36px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.04;
  color: #fff8ee;
}
.hero-lede {
  font-size: 17px;
  line-height: 1.55;
  color: #fff8ee;
}

/* How it works */
.how {
  padding: 64px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how h2 {
  font-size: 34px;
  line-height: 1.1;
}
.steps {
  display: grid;
  gap: 14px;
}
.step {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-100);
}
.step-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step h3 {
  font-size: 23px;
  line-height: 1.15;
}
.step p {
  font-size: 16px;
  line-height: 1.5;
}
.icon-circle {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg {
  width: 24px;
  height: 24px;
}
.icon-terracotta {
  background: var(--color-accent);
  color: #fff8ee;
}

/* Feature sections */
.feature {
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature:last-of-type {
  padding-bottom: 64px;
}
.feature-media {
  display: block;
  height: 300px;
  border-radius: 32px;
  overflow: hidden;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}
.feature h2 {
  font-size: 31px;
  line-height: 1.1;
}
.feature p {
  font-size: 16px;
  line-height: 1.6;
}
.bullets {
  display: none;
}

/* Closing CTA */
.cta-wrap {
  padding: 0 16px 48px;
}
.cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 24px;
  border-radius: 36px;
  background: var(--color-accent-2-800);
  color: #f0fae1;
}
.cta h2 {
  font-size: 32px;
  line-height: 1.1;
}
.cta p {
  font-size: 17px;
  line-height: 1.5;
}
.cta .btn-group {
  margin-top: 6px;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 20px 40px;
  font-size: 15px;
}
.footer .brand {
  font-size: 20px;
  color: var(--color-accent-2-700);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-weight: 600;
}

/* Tablet: same layout, more breathing room */
@media (min-width: 640px) {
  .nav,
  .how,
  .feature,
  .footer {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero-body {
    padding: 0 40px 48px;
    max-width: 640px;
  }
  .cta-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
  .btn-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .feature-media {
    height: 420px;
  }
  .feature-copy,
  .section-head {
    max-width: 620px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    min-height: 820px;
  }
  .hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(32, 30, 29, 0.78) 0%,
      rgba(32, 30, 29, 0.5) 45%,
      rgba(32, 30, 29, 0.08) 80%
    );
  }
  .nav {
    padding: 28px 72px 44px;
  }
  .nav .brand {
    font-size: 2rem;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 16px;
    font-weight: 700;
  }
  .nav-links a:not(.btn-pill) {
    color: #fff8ee;
    text-decoration: none;
  }
  .nav-links a:not(.btn-pill):hover {
    text-decoration: underline;
  }
  .nav .btn-pill {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
  }
  .nav-cta-mobile {
    display: none;
  }
  .hero-body {
    justify-content: center;
    gap: 28px;
    padding: 0 72px 72px;
    max-width: 760px;
  }
  .hero h1 {
    font-size: 84px;
    line-height: 1.02;
  }
  .hero-lede {
    font-size: 21px;
    max-width: 560px;
  }
  .hero .btn-pill {
    height: 56px;
  }

  .how {
    padding: 120px 72px 56px;
    gap: 56px;
  }
  .how .section-head {
    gap: 16px;
    max-width: 720px;
  }
  .kicker {
    font-size: 14px;
  }
  .how h2 {
    font-size: 52px;
    line-height: 1.08;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .step {
    flex-direction: column;
    padding: 36px;
  }
  .step-body {
    gap: 16px;
  }
  .step h3 {
    font-size: 28px;
  }
  .step p {
    font-size: 17px;
    line-height: 1.55;
  }
  .icon-circle {
    width: 64px;
    height: 64px;
  }
  .icon-circle svg {
    width: 28px;
    height: 28px;
  }

  .feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 88px;
    align-items: center;
    padding: 64px 72px;
  }
  .feature-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .feature-reverse .feature-media {
    order: 2;
  }
  .feature:last-of-type {
    padding-bottom: 120px;
  }
  .feature-media {
    height: 560px;
    border-radius: 40px;
  }
  .feature-short .feature-media {
    height: 520px;
  }
  .feature-copy {
    gap: 20px;
    padding-top: 0;
    max-width: none;
  }
  .feature h2 {
    font-size: 48px;
    line-height: 1.08;
  }
  .feature p {
    font-size: 18px;
  }
  .bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-size: 17px;
    font-weight: 600;
  }
  .bullets li {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--dot, var(--color-accent-2));
  }
  .bullets-terracotta {
    --dot: var(--color-accent);
  }

  .cta-wrap {
    padding: 0 72px 96px;
  }
  .cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 72px;
    border-radius: 48px;
  }
  .cta-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
  }
  .cta h2 {
    font-size: 52px;
    line-height: 1.08;
  }
  .cta p {
    font-size: 19px;
    line-height: 1.55;
  }
  .cta .btn-group {
    flex-direction: column;
    flex-shrink: 0;
    margin-top: 0;
  }
  .cta .btn-pill {
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
  }
  .cta .btn-pill svg {
    width: 24px;
    height: 24px;
  }

  .footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 72px 44px;
  }
  .footer .brand {
    font-size: 22px;
  }
  .footer-links {
    gap: 28px;
  }
  .footer > span {
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
