/* Home page only (WEB TASK 12, loaded after site.css). Sizes and colours copied from the approved design
   (~/Documents/clickacart-ops-spec/agent-queue/design/site-home/home-desktop.html + home-mobile.html):
   palette A (WEB TASK 20): ground #F7F9FC, text #111827, blue #1467F5 links, green #168540 main actions (palette A's #168B43 darkened for AA contrast, WEB TASK 23), Heebo, RTL. The design is light only, so the
   page stays light in dark mode too. Phones (≤ 37.5rem): the mobile artboard, with a sticky bottom button. */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/heebo-v28-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/heebo-v28-latin.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;
}

:root {
  color-scheme: light;
  --ground: #F7F9FC; --surface: #FFFFFF; --ink: #111827; --muted: #5F6B76; --primary: #1467F5; --primary-strong: #0F55D0;
  --line: #E5E9EF; --line-strong: #C9CED6; --focus: #1467F5; --select: #E3EDFE;
  --logo-primary: #45647B; --logo-accent: #B9674F;
  --amber: #168540; --mint-pill: #E3EDFE;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #F7F9FC; --surface: #FFFFFF; --ink: #111827; --muted: #5F6B76; --primary: #1467F5; --primary-strong: #0F55D0;
    --line: #E5E9EF; --line-strong: #C9CED6; --focus: #1467F5; --select: #E3EDFE;
    --logo-primary: #45647B; --logo-accent: #B9674F;
  }
}
.page-home { font-family: Heebo, system-ui, sans-serif; background: #F7F9FC; color: #111827; line-height: 1.5; }
.page-home a { color: #1467F5; }
.page-home a:hover { color: #0F55D0; }
.h-wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }
.page-home .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header (shared shell from build.py; the design's white bar) */
.page-home .site-header { background: #FFFFFF; border-bottom: 1px solid #E5E9EF; }
.page-home .site-header .wrap { max-width: 1180px; padding: 14px clamp(16px, 3vw, 32px); }
.page-home .brand svg { height: 30px; }
.h-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.page-home .h-nav a { font-size: 15px; font-weight: 500; padding: 10px 12px; min-height: 44px; border: 0; color: #111827; }
.page-home .h-nav a:hover { color: #1467F5; text-decoration: underline; }
.page-home .h-nav a.h-cta-pill {
  background: #168540; color: #FFFFFF; font-weight: 700; padding: 10px 18px; border-radius: 999px; gap: 6px; text-decoration: none;
}
.page-home .h-nav a.h-cta-pill:hover { background: #127838; color: #FFFFFF; }
.h-account { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hero */
.h-hero-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-block: 56px 40px; }
.h-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.h-pill { align-self: flex-start; background: #E3EDFE; color: #0F55D0; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.h-copy h1 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.12; font-weight: 800; }
.h-lead { margin: 0; font-size: 19px; line-height: 1.6; color: #5F6B76; max-width: 560px; }
.h-city {
  position: relative; display: flex; flex-wrap: wrap; gap: 10px; background: #FFFFFF; border: 1px solid #E5E9EF; border-radius: 18px;
  padding: 10px; box-shadow: 0 6px 24px rgba(17, 24, 39, .08); max-width: 560px; margin: 0;
}
.h-city-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h-city-field { position: relative; flex: 1 1 220px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #5F6B76; }
.h-city-field svg { flex: none; }
.h-city-field input {
  font: inherit; font-size: 16px; border: 0; outline: none; width: 100%; min-height: 48px; background: transparent; color: #111827;
}
.h-city-field input::placeholder { color: #66717A; }
.h-city:focus-within { border-color: #1467F5; box-shadow: 0 0 0 2px #1467F5, 0 6px 24px rgba(17, 24, 39, .08); }
.h-city-list {
  position: absolute; inset-inline: 0; top: calc(100% + 12px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: #FFFFFF; border: 1px solid #E5E9EF; border-radius: 14px; box-shadow: 0 12px 32px rgba(17, 24, 39, .16);
  max-height: 18rem; overflow-y: auto;
}
.h-city-list li { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; cursor: pointer; font-size: 16px; }
.h-city-list li[aria-selected="true"], .h-city-list li:hover { background: #E3EDFE; }
.h-city-status { flex-basis: 100%; margin: 0; font-size: 14px; color: #8A4B10; }
.h-city-status:empty { display: none; }
.h-go {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 0; cursor: pointer;
  background: #168540; color: #FFFFFF; font: inherit; font-weight: 800; font-size: 17px; padding: 0 24px; min-height: 52px; border-radius: 12px;
}
.page-home .h-go { color: #FFFFFF; }
.page-home .h-go:hover { background: #127838; color: #FFFFFF; }
.h-free { margin: 0; font-size: 14px; color: #5F6B76; }
.h-stores { align-self: flex-start; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h-stores-title { margin: 0; font-size: 15px; font-weight: 700; color: #111827; text-align: center; }
.h-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* The official badges keep their own aspect ratio: never squeezed by the row (they wrap instead). */
.h-badges li { flex: none; }
.h-badges img { display: block; height: 48px; width: auto; max-width: none; object-fit: contain; }
/* Google's artwork carries its own clear space (about 1/6 of its height on each side): the badge itself is then as
   tall as Apple's, as Google's guidelines ask. The artwork is not changed. */
.h-badges .h-badge-gp img { height: 72px; margin: -12px -11px; }

/* Hero phones */
.h-art { flex: 1 1 380px; display: flex; justify-content: center; min-width: 0; }
.h-art-inner { position: relative; display: flex; align-items: flex-end; }
.h-back-phone {
  width: 230px; border-radius: 34px; border: 9px solid #111827; overflow: hidden; background: #111827; flex: none;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .16); transform: translateX(-40px) rotate(-4deg); margin-inline-end: -90px;
}
.h-back-phone img { width: 100%; height: auto; }
.h-phone {
  position: relative; flex: none; width: 330px; height: 714px; box-sizing: border-box; border-radius: 52px; border: 11px solid #111827;
  overflow: hidden; background: #F7F9FC; box-shadow: 0 24px 60px rgba(17, 24, 39, .24); display: flex; flex-direction: column;
}
.hp-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-size: 13px; font-weight: 700; direction: ltr; }
.hp-island { width: 100px; height: 26px; border-radius: 14px; background: #111827; }
.hp-head { padding: 6px 16px 8px; display: flex; flex-direction: column; gap: 2px; }
.hp-head b { font-size: 19px; }
.hp-head span { font-size: 12px; color: #5F6B76; }
.hp-head .hp-brand { align-self: flex-start; font-size: 22px; font-weight: 900; color: #1467F5; letter-spacing: -.3px; direction: ltr; line-height: 1.1; margin-bottom: 2px; }
.hp-body { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.hp-row { background: #FFFFFF; border: 2px solid transparent; border-radius: 16px; box-shadow: 0 3px 10px rgba(17, 24, 39, .07); padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.hp-best { border-color: #1467F5; background: #F0F5FF; padding: 12px 14px; }
.hp-line { display: flex; align-items: center; justify-content: space-between; }
.hp-chain { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.hp-sq { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.hp-a { background: #1467F5; color: #FFFFFF; }
.hp-b .hp-sq { background: #168540; color: #FFFFFF; }
.hp-c .hp-sq { background: #5B7CA6; color: #FFFFFF; }
.hp-price { font-size: 18px; }
.hp-best .hp-price { font-size: 22px; color: #111827; }
.hp-bar { flex: 1; height: 8px; border-radius: 4px; background: #E5E9EF; }
.hp-meter { display: flex; align-items: center; gap: 10px; }
.hp-bar i { display: block; height: 8px; border-radius: 4px; background: #168540; }
.hp-b .hp-bar { background: #E5E9EF; }
.hp-b .hp-bar i { background: #9AA9C0; }
.hp-c .hp-bar { background: #E6ECF4; }
.hp-c .hp-bar i { background: #5B7CA6; }
.hp-tag { align-self: flex-start; background: #168540; color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.hp-more { font-size: 12px; color: #5F6B76; }
.hp-b .hp-more { color: #5F6B76; }
.hp-cta { background: #168540; color: #FFFFFF; text-align: center; font-weight: 800; font-size: 15px; border-radius: 14px; padding: 11px; }
.hp-list { background: #FFFFFF; border: 0; box-shadow: 0 3px 10px rgba(17, 24, 39, .07); border-radius: 16px; padding: 8px 12px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.hp-list > span { display: flex; justify-content: space-between; }
.hp-list .hp-muted { color: #5F6B76; }
.hp-note { font-size: 10px; color: #66717A; text-align: center; }
.hp-foot { margin-top: auto; padding: 4px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; direction: ltr; }
.hp-foot svg { height: 36px; width: auto; }
.hp-home { width: 110px; height: 5px; border-radius: 3px; background: #111827; opacity: .8; }
.h-save {
  position: absolute; bottom: 120px; left: -10px; background: #1467F5; color: #FFFFFF; font-weight: 800; font-size: 15px;
  padding: 10px 14px; border-radius: 14px; box-shadow: 0 8px 20px rgba(17, 24, 39, .18);
}

/* Numbers */
.h-stats { background: #111827; color: #FFFFFF; }
.h-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; text-align: center; padding-block: 28px; }
.h-stats-grid > div { display: flex; flex-direction: column; gap: 4px; }
.h-stats-grid b { font-size: 34px; color: #8FD3B1; line-height: 1.3; font-variant-numeric: tabular-nums; }
.h-stats-grid span { font-size: 15px; }

/* Three steps */
.h-steps .h-wrap { padding-block: 56px; display: flex; flex-direction: column; gap: 28px; }
.h-steps h2 { margin: 0; font-size: 30px; font-weight: 800; text-align: center; }
.h-short { display: none; }
.h-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.h-card { background: #FFFFFF; border: 1px solid #E5E9EF; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.h-card-text { display: flex; flex-direction: column; gap: 10px; }
.h-num { width: 40px; height: 40px; border-radius: 50%; background: #168540; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.h-card h3 { margin: 0; font-size: 18px; }
.h-card p { margin: 0; color: #5F6B76; line-height: 1.6; font-size: 16px; }
.h-shot { height: 230px; overflow: hidden; border-radius: 14px; border: 1px solid #E5E9EF; margin-top: 6px; }
.h-shot img { display: block; width: 100%; height: auto; }
.h-shot-end { display: flex; align-items: flex-end; }
/* The comparison screenshot: the window shows "בחרו רשת להמשך" and the cheapest chain's card. */
.h-shot-cards img { margin-top: -90%; }
.h-shot-mob { display: none; }
.h-go-center { align-self: center; font-size: 18px; padding: 0 32px; min-height: 56px; border-radius: 14px; }

/* Footer */
.page-home .site-footer { background: #FFFFFF; border-top: 1px solid #E5E9EF; color: #5F6B76; font-size: 14px; }
.page-home .site-footer .wrap { max-width: 1180px; padding-inline: clamp(16px, 3vw, 32px); }
.h-sticky { display: none; }

/* Phones: the mobile artboard */
@media (max-width: 37.5rem) {
  .h-desk { display: none !important; }
  .page-home .site-header .wrap { padding: 10px 16px; flex-wrap: nowrap; gap: 8px; }
  .page-home .brand svg { height: 24px; }
  .h-nav ul { flex-wrap: nowrap; gap: 4px; }
  .page-home .h-nav a { font-size: 14px; padding: 0 8px; }
  .page-home .h-nav a.h-cta-pill { padding: 0 14px; min-height: 44px; }
  .h-account { max-width: 6.5rem; }
  .h-hero-grid { padding-block: 28px 24px; gap: 16px; }
  .h-copy { flex-basis: 100%; gap: 16px; }
  .h-pill { font-size: 13px; padding: 5px 10px; }
  .h-copy h1 { font-size: 32px; line-height: 1.15; }
  .h-br { display: none; }
  .h-lead { font-size: 17px; }
  .h-lead-more { display: none; }
  .h-city { flex-direction: column; flex-wrap: nowrap; background: none; border: 0; box-shadow: none; padding: 0; gap: 16px; max-width: none; }
  .h-city:focus-within { box-shadow: none; }
  .h-city-label { position: static; width: auto; height: auto; clip: auto; font-size: 14px; font-weight: 700; margin-bottom: -8px; }
  .h-city-field { flex: none; background: #FFFFFF; border: 1px solid #C9CED6; border-radius: 12px; padding: 0 14px; }
  .h-city-field:focus-within { border-color: #1467F5; box-shadow: 0 0 0 2px #1467F5; }
  .h-city-field input { font-size: 17px; min-height: 50px; }
  .h-city-list { top: calc(100% + 6px); }
  .h-go { width: 100%; font-size: 18px; min-height: 56px; border-radius: 14px; }
  .h-go svg { display: none; }
  .h-free { font-size: 13px; text-align: center; }
  .h-stores { align-self: stretch; }
  .h-badges { gap: 8px; }
  .h-badges img { height: 44px; }
  .h-badges .h-badge-gp img { height: 66px; margin: -11px -10px; }
  .h-art { flex-basis: 100%; margin-top: 8px; }
  .h-back-phone { display: none; }
  .h-phone { width: 320px; height: 692px; border-radius: 50px; border-width: 10px; }
  .hp-head { padding: 10px 14px 8px; }
  .hp-head span { font-size: 11px; }
  .hp-body { padding: 0 10px 4px; gap: 8px; }
  .hp-row { border-radius: 16px; padding: 10px 12px; }
  .hp-best { padding: 12px; gap: 6px; }
  .hp-b, .hp-c { flex-direction: row; }
  .hp-b .hp-line, .hp-c .hp-line { flex: 1; }
  .hp-meter { display: none; }
  .hp-sq { width: 30px; height: 30px; border-radius: 9px; }
  .hp-chain { font-size: 14px; gap: 6px; }
  .hp-price { font-size: 16px; }
  .hp-best .hp-price { font-size: 19px; }
  .hp-tag { font-size: 11px; padding: 3px 8px; }
  .hp-tag-more { display: none; }
  .hp-cta { font-size: 14px; border-radius: 12px; padding: 11px; }
  .h-save { bottom: 90px; left: auto; right: -22px; font-size: 14px; padding: 8px 12px; border-radius: 12px; }
  .h-save-more { display: none; }
  .h-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-block: 20px; }
  .h-stats-grid > div { gap: 0; }
  .h-stats-grid b { font-size: 28px; }
  .h-stats-grid b.h-stat-words { font-size: 22px; line-height: 1.6; }
  .h-stats-grid span { font-size: 14px; }
  .h-steps .h-wrap { padding-block: 28px; gap: 12px; }
  .h-steps h2 { font-size: 24px; text-align: start; margin-bottom: 4px; }
  .h-long { display: none; }
  .h-short { display: inline; }
  .h-cards { grid-template-columns: 1fr; gap: 12px; }
  .h-card { flex-direction: row; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; }
  .h-card-text { gap: 4px; min-width: 0; flex: 1; }
  .h-num { width: 34px; height: 34px; }
  .h-card h3 { font-size: 17px; }
  .h-card p { font-size: 15px; line-height: 1.5; }
  .h-shot-desk { display: none; }
  .h-shot-mob { display: block; height: 180px; border-radius: 12px; }
  .h-go-center { display: none; }
  .page-home .site-footer { padding-bottom: 110px; }
  .h-sticky {
    display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #FFFFFF; border-top: 1px solid #E5E9EF; box-shadow: 0 -6px 18px rgba(17, 24, 39, .08);
  }
  .h-sticky .h-go { font-size: 17px; min-height: 52px; }
}
@media (max-width: 22rem) {
  .h-phone { width: 288px; height: 623px; }
  .page-home .brand svg { height: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .h-go, .h-nav a { transition: background-color .15s ease-out, color .15s ease-out; }
}

/* Promo video (12.11): a 9:16 card under the hero; the poster picture stays until the video really plays. */
.h-video-wrap { padding-block: 40px 44px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.h-video h2 { margin: 0; font-size: 30px; font-weight: 800; text-align: center; }
.h-vid { position: relative; width: 100%; max-width: 400px; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #111827; box-shadow: 0 12px 36px rgba(17, 24, 39, .16); }
.h-vid picture, .h-vid-poster, .h-vid-el { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.h-vid-poster, .h-vid-el { object-fit: cover; }
.h-vid-el { background: #111827; }
.h-vid.is-playing picture, .h-vid.is-playing .h-vid-play { visibility: hidden; }
.h-vid-play { position: absolute; inset-block-end: 22px; inset-inline-start: 50%; translate: -50% 0; width: 84px; height: 84px; border-radius: 50%; border: 3px solid #FFFFFF; background: #168540; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); padding: 0; }
.h-vid-play svg { margin-left: 4px; }
.h-vid-play:hover { background: #12703A; }
.h-vid-play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; box-shadow: 0 0 0 6px #1467F5; }
.h-vid.is-loading .h-vid-play { opacity: .6; cursor: progress; }
.h-vid.is-failed .h-vid-play { display: none; }
.h-vid-note { position: absolute; inset-inline: 12px; inset-block-end: 14px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(17, 24, 39, .88); color: #FFFFFF; font-size: 15px; text-align: center; }
.h-vid-ns { margin: 0; text-align: center; }
@media (max-width: 37.5rem) {
  .h-video-wrap { padding-inline: 16px; padding-block: 28px 28px; gap: 14px; }
  .h-video h2 { font-size: 24px; align-self: flex-start; }
  .h-vid { max-width: none; border-radius: 20px; }
}
