/* ============================================================
   BOXiT — light & airy landing, Hebrew RTL
   ============================================================ */

/* index.html also preloads this with a <link> (faster first paint).
   The @import is here so privacy.html / terms-and-conditions.html
   get the same fonts without editing them. */
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600&family=Rubik:wght@500;600;700;800&display=swap");

:root {
  /* surfaces */
  --paper: #fbfaf7;
  --paper-2: #f4f2ec;
  --card: #ffffff;
  --line: #e8e4db;
  --line-soft: #f0ece4;

  /* ink */
  --ink: #101718;
  --ink-2: #46545a;
  --ink-3: #7d8b91;

  /* brand */
  --green: #12a055;
  --green-deep: #0c7a41;
  --green-ink: #0b6e3b;
  --green-soft: #e7f5ec;
  --green-line: #c4e6d3;

  /* secondary */
  --clay: #b8551f;
  --clay-soft: #fbeee5;
  --clay-line: #f0d8c5;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --sh-1: 0 1px 2px rgba(16, 23, 24, 0.04), 0 1px 3px rgba(16, 23, 24, 0.03);
  --sh-2: 0 2px 4px rgba(16, 23, 24, 0.03), 0 12px 28px -14px rgba(16, 23, 24, 0.18);
  --sh-3: 0 4px 8px rgba(16, 23, 24, 0.04), 0 28px 60px -24px rgba(16, 23, 24, 0.28);

  --nav-h: 68px;
  --max: 1160px;

  --font: "Assistant", "Segoe UI", system-ui, sans-serif;
  --display: "Rubik", "Assistant", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
}

.site {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 108px);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-ink);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.eyebrow.light {
  color: #b9f2d1;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(18, 160, 85, 0.45);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(18, 160, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 160, 85, 0);
  }
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 24ch;
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head.center {
  text-align: center;
}
.section-head.center .section-title {
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 30px;
  max-width: 34ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-2);
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--sh-3);
}

.btn-quiet {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn-quiet:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.switch-btn:focus-visible,
.step:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  font-size: 0.85rem;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chips li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.chips-light li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d7e3dd;
}
.chips-light li::before {
  background: #6ee7a4;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 130;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, 0.72);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 247, 0.9);
  box-shadow: 0 8px 24px -20px rgba(16, 23, 24, 0.5);
}

.nav-inner {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.wordmark-i {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav-link {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover {
  color: var(--ink);
  background: rgba(16, 23, 24, 0.05);
}
.nav-link.is-current {
  color: var(--ink);
  background: var(--green-soft);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(34px, 6vw, 72px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(46% 42% at 78% 8%, rgba(18, 160, 85, 0.13), transparent 70%),
    radial-gradient(40% 40% at 12% 0%, rgba(226, 178, 96, 0.16), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 23, 24, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  bottom: 0.06em;
  height: 0.14em;
  background: rgba(18, 160, 85, 0.16);
  border-radius: 4px;
  z-index: -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

/* ---------- hero stage ---------- */

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.stage-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 160, 85, 0.16), transparent 66%);
  filter: blur(12px);
}

.float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--sh-3);
  white-space: nowrap;
}
.float strong {
  display: block;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}
.float small {
  font-size: 0.74rem;
  color: var(--ink-3);
}
.float-alert {
  top: 10%;
  inset-inline-start: -6%;
  animation: floaty 6s ease-in-out infinite;
}
.float-sent {
  bottom: 13%;
  inset-inline-end: -4%;
  animation: floaty 7.4s ease-in-out infinite reverse;
}
.float-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}
.float-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
   CODED DEVICE
   ============================================================ */

.device {
  position: relative;
  z-index: 3;
  width: min(300px, 78vw);
  background: #0e1416;
  border-radius: 42px;
  padding: 9px;
  box-shadow: var(--sh-3), 0 0 0 1px rgba(16, 23, 24, 0.9) inset;
}
.device-notch {
  position: absolute;
  top: 16px;
  inset-inline: 0;
  margin-inline: auto;
  width: 84px;
  height: 20px;
  background: #0e1416;
  border-radius: 999px;
  z-index: 3;
}
.device-screen {
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  min-height: 486px;
  display: flex;
  flex-direction: column;
}

.app-bar {
  padding: 34px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff, #fcfbf9);
}
.app-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}
.app-brand i {
  font-style: normal;
  color: var(--green);
}
.app-meta {
  font-size: 0.7rem;
  color: var(--ink-3);
}

.app-body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.screen-title {
  margin: 0;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
}
.screen-foot {
  margin: auto 0 0;
  font-size: 0.68rem;
  color: var(--ink-3);
  text-align: center;
  padding-top: 8px;
}

.app-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  animation: screen-in 0.36s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* supplier group */
.sup {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.sup-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: #faf9f6;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.sup-count {
  margin-inline-start: auto;
  font-size: 0.68rem;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 7px;
}
.sup-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.sup-dot.dot-2 {
  background: #d9822b;
}
.sup-dot.dot-3 {
  background: #6a8fd8;
}
.sup-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  font-size: 0.78rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.sup-line:last-child {
  border-bottom: 0;
}
.sup-line b {
  color: var(--ink);
  font-weight: 600;
}

.app-cta {
  margin-top: auto;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 11px;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 600;
}
.app-cta-soft {
  background: var(--green-soft);
  color: var(--green-ink);
  border: 1px solid var(--green-line);
}
.screen-foot + .app-cta {
  margin-top: 8px;
}

/* stock list */
.stock {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.stock li {
  display: grid;
  grid-template-columns: 4.6rem 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--ink-2);
}
.stock .bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.stock .bar i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: 999px;
  background: var(--green);
  transform-origin: right center;
  animation: bar-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes bar-in {
  from {
    transform: scaleX(0);
  }
}
.stock em {
  font-style: normal;
  font-size: 0.66rem;
  color: var(--green-ink);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 7px;
}
.stock em.low {
  color: var(--clay);
  background: var(--clay-soft);
}
.stock li:has(em.low) .bar i {
  background: var(--clay);
}

/* sent screen */
.sent-hero {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 26px 0 14px;
}
.sent-check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
.sent-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
}
.sent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.sent li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.78rem;
}
.sent em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--green-ink);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ============================================================
   AUDIENCE BAND
   ============================================================ */

.band {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}
.band-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 18px;
}
.band-label {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.band-list li {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--ink);
  opacity: 0.72;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */

.switch {
  position: relative;
  display: inline-flex;
  margin: 0 auto 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  inset-inline-start: 50%;
  transform: translateX(50%);
}
[dir="rtl"] .switch {
  transform: translateX(50%);
}
.switch-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  inset-inline-start: 4px;
  background: var(--card);
  border-radius: 999px;
  box-shadow: var(--sh-2);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.switch[data-view="after"] .switch-thumb {
  transform: translateX(calc(-100% + 0px));
}
[dir="ltr"] .switch[data-view="after"] .switch-thumb {
  transform: translateX(100%);
}
.switch-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-3);
  padding: 9px 34px;
  border-radius: 999px;
  transition: color 0.2s ease;
}
.switch-btn.is-active {
  color: var(--ink);
}

.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--sh-2);
  overflow: hidden;
  min-height: 380px;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.stage[data-view="before"] {
  background: linear-gradient(180deg, #fdf6f0, #fffdfb 70%);
  border-color: var(--clay-line);
}
.stage[data-view="after"] {
  background: linear-gradient(180deg, #f2fbf5, #fdfffe 70%);
  border-color: var(--green-line);
}

.view {
  padding: clamp(26px, 4vw, 42px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  animation: view-in 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* before: mess */
.mess {
  position: relative;
  flex: 1;
  min-height: 260px;
  width: min(100%, 660px);
  margin-inline: auto;
}
.bubble,
.note {
  position: absolute;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 500;
  white-space: nowrap;
  padding: 10px 14px;
  box-shadow: var(--sh-2);
}
.bubble {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 16px 16px 4px 16px;
}
.bubble.warn {
  border-color: var(--clay-line);
  background: var(--clay-soft);
  color: var(--clay);
}
.note {
  background: #fdf3d6;
  border: 1px solid #f0e0ae;
  color: #7a5f16;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 600;
}
.b1 { top: 0;   inset-inline-end: 4%;   transform: rotate(-3deg); }
.n1 { top: 5%;  inset-inline-start: 6%;  transform: rotate(-6deg); }
.b3 { top: 22%; inset-inline-end: 12%;  transform: rotate(-1.5deg); }
.b2 { top: 25%; inset-inline-start: 0;  transform: rotate(2deg); }
.n3 { top: 44%; inset-inline-end: 30%;  transform: rotate(3deg); }
.b6 { top: 46%; inset-inline-start: 2%; transform: rotate(4deg); }
.n2 { top: 64%; inset-inline-end: 6%;   transform: rotate(5deg); }
.b4 { top: 67%; inset-inline-start: 20%; transform: rotate(3deg); }
.b5 { top: 86%; inset-inline-end: 22%;  transform: rotate(-2deg); }

/* after: rail */
.rail {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 4px;
  max-width: 30rem;
  margin-inline: auto;
  width: 100%;
}
.rail li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--green-line);
}
.rail li:last-child {
  border-bottom: 0;
}
.rail-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 6px rgba(18, 160, 85, 0.1);
}
.rail-text {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.view-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.view-after .view-foot {
  justify-content: center;
}
.tag {
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px;
  border: 1px solid;
}
.tag-warn {
  color: var(--clay);
  background: var(--clay-soft);
  border-color: var(--clay-line);
}
.tag-ok {
  color: var(--green-ink);
  background: var(--green-soft);
  border-color: var(--green-line);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.step {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease,
    border-color 0.25s ease, opacity 0.25s ease;
  opacity: 0.66;
}
.step:hover {
  opacity: 0.9;
}
.step.is-active {
  opacity: 1;
  border-color: var(--green-line);
  box-shadow: var(--sh-2);
  transform: translateX(0);
}
.step-num {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--paper-2);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.step.is-active .step-num {
  background: var(--green);
  color: #fff;
}
.step h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
}
.step-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--line-soft);
  opacity: 0;
}
.step.is-active .step-bar {
  opacity: 1;
}
.step-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
}
.step.is-active .step-bar i {
  animation: step-progress 6s linear forwards;
}
@keyframes step-progress {
  to {
    width: 100%;
  }
}
.steps.is-paused .step-bar i {
  animation-play-state: paused;
}

.how-device {
  display: flex;
  justify-content: center;
}

/* ============================================================
   BENTO FEATURES
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--sh-1);
  grid-column: span 2;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--green-line);
}
.tile h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 16px;
}
.tile-icon svg {
  width: 20px;
  height: 20px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-wide {
  grid-column: span 4;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(18, 160, 85, 0.07), transparent 70%),
    var(--card);
}
.tile-wide h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.tile-wide p {
  font-size: 1.02rem;
}

.tile-art {
  display: grid;
  gap: 8px;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--sh-1);
}
.mini-row b {
  margin-inline-start: auto;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 12px;
}
.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.mini-dot.dot-2 {
  background: #d9822b;
}
.mini-dot.dot-3 {
  background: #6a8fd8;
}

.tile-accent {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.tile-art-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  margin-top: auto;
  padding-top: 26px;
}
.tile-art-bars::before {
  content: "סף מינימום";
  position: absolute;
  inset-inline: 0;
  bottom: 40%;
  border-top: 1px dashed var(--clay-line);
  font-size: 0.62rem;
  color: var(--clay);
  padding-top: 3px;
  text-align: start;
}
.tile-art-bars span {
  position: relative;
  flex: 1;
  height: var(--v);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 8px 8px 4px 4px;
}
.tile-art-bars span:nth-child(1),
.tile-art-bars span:nth-child(3),
.tile-art-bars span:nth-child(5) {
  background: var(--clay-soft);
  border-color: var(--clay-line);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding-bottom: clamp(64px, 8vw, 108px);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(18, 160, 85, 0.22), transparent 65%),
    #101718;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
  color: #fff;
  box-shadow: var(--sh-3);
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.contact-aside p {
  color: #b8c5c6;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 28ch;
}
.contact-mail {
  display: inline-block;
  color: #6ee7a4;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 231, 164, 0.35);
  margin-bottom: 22px;
}
.contact-mail:hover {
  border-bottom-color: #6ee7a4;
}

.lead-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  position: relative;
}
.field.full {
  grid-column: 1 / -1;
}
.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 12px;
  padding: 22px 14px 8px;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field label {
  position: absolute;
  inset-inline-start: 14px;
  top: 15px;
  font-size: 0.95rem;
  color: #8d9c9d;
  pointer-events: none;
  transition: transform 0.18s ease, font-size 0.18s ease, color 0.18s ease, top 0.18s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 7px;
  font-size: 0.72rem;
  color: #6ee7a4;
}
.field input:focus {
  outline: none;
  border-color: #38c07a;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(56, 192, 122, 0.18);
}
.field.has-error input {
  border-color: #ef6b62;
  box-shadow: 0 0 0 3px rgba(239, 107, 98, 0.16);
}
.field input[dir="ltr"] {
  text-align: start;
}

.hp {
  position: absolute;
  inset-inline-start: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-message {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.92rem;
}
.form-message.success {
  background: rgba(56, 192, 122, 0.14);
  color: #6ee7a4;
}
.form-message.error {
  background: rgba(239, 107, 98, 0.14);
  color: #ffb3ad;
}

.form-submit {
  margin-top: 16px;
  width: 100%;
  background: var(--green);
  color: #fff;
}
.form-submit:hover {
  background: #16b862;
}
.form-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #8d9c9d;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 26px;
  background: var(--paper-2);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand p {
  max-width: 24rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 12px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-content: flex-start;
  max-width: 320px;
}
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--green-ink);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.store-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 16px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 600;
  min-width: 150px;
  box-shadow: var(--sh-1);
}
.store-btn small {
  display: block;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.7rem;
}
.store-btn.disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   COOKIES
   ============================================================ */

.cookies {
  position: fixed;
  z-index: 150;
  inset-inline-start: 18px;
  bottom: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--sh-3);
  max-width: min(420px, calc(100% - 36px));
}
.cookies p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */

.legal {
  padding: 48px 0 80px;
}
.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  max-width: 760px;
  margin-inline: auto;
  box-shadow: var(--sh-1);
}
.legal-card h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.legal-card .updated {
  color: var(--ink-3);
  margin: 0 0 28px;
}
.legal-card h2 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
}
.legal-card p,
.legal-card li {
  color: var(--ink-2);
  line-height: 1.75;
}
.legal-card a {
  color: var(--green-ink);
}
.back-home {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green-ink);
  text-decoration: none;
  font-weight: 700;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  .hero-copy .lead,
  .hero-copy .section-title {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-copy .chips {
    justify-content: center;
  }
  .hero-stage {
    min-height: 500px;
  }
  .float-alert {
    inset-inline-start: 2%;
  }
  .float-sent {
    inset-inline-end: 2%;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-device {
    order: -1;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-aside p {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .tile-wide {
    grid-column: span 4;
    grid-row: auto;
  }
  .tile-accent {
    grid-column: span 4;
    grid-row: auto;
  }
  .tile {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .desktop-only {
    display: none;
  }
  .nav-links {
    margin-inline: 0;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .nav-toggle {
    display: inline-flex;
  }

  .mobile-drawer {
    display: flex;
    position: fixed;
    z-index: 120;
    inset: var(--nav-h) 0 0 0;
    background: rgba(16, 23, 24, 0.4);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }
  .mobile-drawer.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-panel {
    margin-inline-start: auto;
    width: min(320px, 84vw);
    height: 100%;
    background: var(--paper);
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-inline-start: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  [dir="rtl"] .mobile-panel {
    transform: translateX(-100%);
  }
  .mobile-drawer.open .mobile-panel {
    transform: none;
  }
  .mobile-panel .nav-link {
    display: block;
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .mobile-panel .btn {
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile,
  .tile-wide,
  .tile-accent {
    grid-column: span 1;
  }
  .hero-stage {
    min-height: 500px;
    padding-top: 26px;
  }
  .device {
    width: min(272px, 74vw);
  }
  .float {
    padding: 8px 11px;
  }
  .float strong {
    font-size: 0.78rem;
  }
  .float-alert {
    top: 0;
    inset-inline-start: -2px;
  }
  .float-sent {
    display: none;
  }
  .stage-blob {
    width: 300px;
    height: 300px;
  }
  .bubble,
  .note {
    font-size: 0.78rem;
    padding: 8px 11px;
  }
  .mess {
    min-height: 290px;
  }
  .n1 {
    inset-inline-start: 12%;
  }
  .b3 {
    inset-inline-end: 10%;
  }
  .switch-btn {
    padding: 9px 26px;
  }
  .footer-links {
    max-width: none;
  }
  .cookies {
    inset-inline: 12px;
    bottom: 12px;
    max-width: none;
    padding: 10px 12px;
    gap: 10px;
  }
  .cookies p {
    font-size: 0.78rem;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .stock li {
    grid-template-columns: 4.1rem 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
