/* Lovable home-page — loveable-code-reference/src/styles.css (.home-page / .hp-*)
   Exact pixel values from Lovable. Do not approximate. */

/* Self-hosted Latin variable fonts (OFL) — see /fonts/OFL-*.txt */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/bricolage-grotesque-latin.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.home-page {
  --hp-navy: #2b4457;
  --hp-body: #426174;
  --hp-teal: #3c7e8c;
  --hp-panel: #e3f2f4;
  background: #fafdfd;
  color: var(--hp-body);
  font-family: "Plus Jakarta Sans", sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* text-decoration only — do not set color here (beats .hp-pill / .hp-badge) */
.home-page a {
  text-decoration: none;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--hp-navy);
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-weight: 800;
  margin: 0;
}

.hp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

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

.hp-logo {
  width: 152px;
  height: auto;
}

.hp-login {
  color: var(--hp-navy);
  font-weight: 600;
  font-size: 15px;
}

.home-page a.hp-login {
  color: var(--hp-navy);
}

.hp-pill {
  background: var(--hp-teal);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
}

/* Lovable Link pills/badges are white-on-teal / white-on-navy */
.home-page a.hp-pill,
.home-page a.hp-badge {
  color: #fff;
}

.hp-hero {
  text-align: center;
  padding-top: 72px;
}

.hp-hero h1 {
  font-size: clamp(44px, 7vw, 88px);
}

.hp-hero h1 span {
  color: var(--hp-teal);
}

.hp-hero > p {
  font-size: 22px;
  margin: 28px 0;
}

.hp-badges {
  /* Equal-width badges: size to the wider label, stretch both. */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.hp-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  background: var(--hp-navy);
  color: #fff;
  border-radius: 12px;
  padding: 9px 18px;
  box-shadow: 0 8px 18px -10px rgb(43 68 87 / 0.6);
}

.hp-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.hp-badge span {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}

.hp-badge small {
  font-size: 11px;
  font-weight: 500;
}

.hp-panel {
  background: var(--hp-panel);
  border-radius: 40px;
  overflow: hidden;
}

.hp-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 150px;
}

.hp-hero + .hp-feature {
  margin-top: 88px;
}

.hp-reverse .hp-copy {
  order: 2;
}

.hp-copy h2 {
  font-size: 64px;
}

.hp-copy p {
  font-size: 21px;
  line-height: 1.55;
  margin-top: 24px;
  max-width: 460px;
}

.hp-instacart {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  background: var(--hp-panel);
  border: 1px solid #c6e3e7;
  border-radius: 999px;
  padding: 8px 22px 8px 8px;
  font-size: 19px;
}

.hp-instacart b {
  color: var(--hp-navy);
}

.hp-instacart em {
  color: var(--hp-teal);
  font-style: normal;
  font-weight: 700;
  margin-left: -6px;
}

.hp-cart {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--hp-teal);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.hp-cart svg {
  width: 20px;
  height: 20px;
}

.hp-compare,
.hp-extra {
  text-align: center;
  margin-top: 160px;
}

.hp-compare h2,
.hp-extra h2 {
  font-size: 52px;
}

.hp-compare > p {
  font-size: 20px;
  margin-top: 16px;
}

.hp-table {
  max-width: 960px;
  margin: 48px auto 0;
  background: #fff;
  border: 1px solid #e3eef0;
  border-radius: 28px;
  box-shadow: 0 24px 40px -30px rgb(43 68 87 / 0.35);
  text-align: left;
  overflow: hidden;
}

.hp-row {
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  align-items: center;
  padding: 20px 40px;
  border-top: 1px solid #edf4f5;
  font-size: 19px;
  color: var(--hp-navy);
  font-weight: 500;
}

.hp-row > span:not(:first-child) {
  display: flex;
  justify-content: center;
}

.hp-head {
  border-top: 0;
  padding: 18px 40px;
}

.hp-us {
  background: var(--hp-panel);
  border-radius: 999px;
  padding: 14px 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 20px;
  gap: 8px;
  align-items: center;
}

.hp-us img {
  width: 26px;
  height: 26px;
}

.hp-them {
  font-size: 16px;
  color: var(--hp-body);
}

.hp-yes,
.hp-no {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.hp-yes {
  background: var(--hp-teal);
  color: #fff;
}

.hp-yes svg {
  width: 16px;
  height: 16px;
}

.hp-no {
  background: #eef2f4;
  color: #b3c0c8;
}

.hp-no svg {
  width: 12px;
  height: 12px;
}

.hp-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
  text-align: left;
}

.hp-extra-grid h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 28px 4px 8px;
}

.hp-extra-grid p {
  font-size: 18px;
  margin: 0 4px;
}

.hp-banner {
  margin-top: 150px;
  background: var(--hp-panel);
  border-radius: 40px;
  text-align: center;
  padding: 96px 24px;
}

.hp-banner img {
  width: 64px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
}

.hp-banner h2 {
  font-size: clamp(36px, 5vw, 60px);
}

.hp-banner p {
  font-size: 21px;
  margin: 28px 0;
}

.hp-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 24px;
}

.hp-footer > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.hp-footer p {
  margin-top: 10px;
  line-height: 1.5;
}

.hp-footer strong {
  color: var(--hp-navy);
}

.hp-copyright {
  border-top: 1px solid #e3eef0;
  padding: 20px 0 40px;
  font-size: 15px;
}

.hp-disclaimer {
  margin: -24px 0 40px;
  font-size: 13px;
  color: var(--hp-body);
  opacity: 0.75;
}

.hp-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 15px 28px;
  font-size: 17px;
}

.hp-section-cta {
  margin-top: 44px;
  text-align: center;
}

.hp-instacart + div .hp-cta {
  margin-top: 24px;
}

.hp-hero > p.hp-hero-proof {
  font-size: 16px;
  margin: -12px 0 28px;
  color: var(--hp-body);
}

.hp-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
  text-align: left;
}

.hp-steps-grid h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 4px 8px;
}

.hp-steps-grid p {
  font-size: 18px;
  margin: 0 4px;
}

.hp-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 52px;
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hp-faq h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.hp-faq p {
  font-size: 18px;
  margin: 0;
}

@media (max-width: 767px) {
  /* Stack store badges; keep equal width (widest label wins). */
  .hp-badges {
    grid-auto-flow: row;
  }

  /* Mobile landing: keep Get the app; Log in lives in footer / desktop header. */
  .hp-login {
    display: none;
  }

  .hp-hero {
    padding-top: 40px;
  }

  .hp-hero > p {
    font-size: 18px;
  }

  .hp-feature {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 96px;
    text-align: center;
  }

  .hp-hero + .hp-feature {
    margin-top: 64px;
  }

  .hp-reverse .hp-copy {
    order: 0;
  }

  .hp-copy h2 {
    font-size: 44px;
  }

  .hp-copy p {
    font-size: 18px;
    margin: 16px auto 0;
  }

  .hp-instacart {
    font-size: 16px;
  }

  .hp-panel {
    border-radius: 28px;
  }

  .hp-compare,
  .hp-extra {
    margin-top: 110px;
  }

  .hp-compare h2,
  .hp-extra h2 {
    font-size: 36px;
  }

  .hp-compare > p {
    font-size: 17px;
  }

  .hp-row,
  .hp-head {
    grid-template-columns: 1fr 84px 84px;
    padding: 16px 16px;
    font-size: 15px;
  }

  .hp-us {
    font-size: 14px;
    padding: 10px 0;
    flex-direction: column;
    gap: 2px;
  }

  .hp-us img {
    width: 20px;
    height: 20px;
  }

  .hp-them {
    font-size: 13px;
    text-align: center;
  }

  .hp-extra-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hp-extra-grid h3 {
    font-size: 24px;
  }

  .hp-steps-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hp-steps-grid h3 {
    font-size: 22px;
  }

  .hp-faq {
    text-align: center;
  }

  .hp-hero > p.hp-hero-proof {
    font-size: 15px;
    margin: -8px 0 24px;
  }

  .hp-banner {
    margin-top: 110px;
    padding: 64px 20px;
    border-radius: 28px;
  }

  .hp-banner p {
    font-size: 18px;
  }

  .hp-footer {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .hp-footer > div:first-child {
    grid-column: 1 / -1;
    align-items: center;
  }

  .hp-copyright {
    text-align: center;
  }

  .hp-disclaimer {
    text-align: center;
    margin: -16px 0 32px;
  }
}
