/* ===== Landing page styles – mobile-first, RTL ===== */
html { overflow-x: clip; scroll-padding-top: 72px; }
body { overflow-x: hidden; max-width: 100%; }
@font-face { font-family: 'Heebo'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../assets/fonts/heebo-hebrew-wght-normal-f1f7cfaef5.woff2) format('woff2-variations');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
  ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; size-adjust: 100%; }
@font-face { font-family: 'Heebo'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../assets/fonts/heebo-latin-wght-normal-50dae2e12d.woff2) format('woff2-variations');
  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;
  ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; size-adjust: 100%; }

:root {
  --text-min: 0.875rem; /* visible copy floor: ≥14px computed at 360/768/1280 */
  /* Mona – light premium (UX 11.10.2026). Brand: styles.css:10–12 */
  --bg:            #fbf9f5;
  --surface:       #ffffff;
  --surface-alt:   #f3efe7;
  --text:          #1f1a17;
  --text-muted:    #5e554d;
  --primary:       #1f4d3b;   /* כפתור ראשי, קישורים, eyebrow */
  --primary-hover: #173b2d;
  --on-primary:    #ffffff;
  --accent:        #e8a33d;   /* מילוי/הדגשה בלבד – לא טקסט, לא גבול, לא focus */
  --on-accent:     #2a1c05;
  --accent-text:   #8a520c;   /* כשצריך ענבר כטקסט */
  --border:        #e6dfd3;   /* קווי הפרדה דקורטיביים בלבד */
  --border-strong: #857a70;   /* גבולות של שדות קלט ורכיבים (3:1) */
  --focus-ring:    #1f4d3b;
  --focus-halo:    #ffffff;
  --success:       #24693f;  --success-bg: #e8f3ec;
  --warning:       #8a520c;  --warning-bg: #fbf0dc;
  --danger:        #a8402a;  --danger-bg:  #fbebe6;
  /* map existing tokens onto the new palette */
  --bg-2: var(--surface-alt);
  --card: var(--surface);
  --ink: var(--text);
  --ink-2: var(--text);
  --muted: var(--text-muted);
  --line: var(--border);
  --brand: var(--primary);
  --brand-2: var(--primary);
  --brand-ink: var(--on-primary);
  --accent-2: var(--accent-text);
  --warn: var(--danger);
  --warn-bg: var(--danger-bg);
  --info: #2f5f8a;
  --info-bg: #e8f0f8;
  --ok: var(--success);
  --ok-bg: var(--success-bg);
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 2px rgba(31,26,23,.06), 0 8px 24px rgba(31,26,23,.08);
  --shadow-lg: 0 2px 6px rgba(31,26,23,.08), 0 24px 60px rgba(31,26,23,.16);
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 17px; }
body { margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--ink);
  font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: var(--text-min); font-weight: 700; letter-spacing: .02em; color: var(--brand-2);
  background: #e3efe8; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.skip { position: absolute; top: 8px; right: 8px; background: var(--ink); color: #fff; min-height: 44px; min-width: 44px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; z-index: 100; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-halo); }
.hl { background: var(--accent); color: var(--on-accent); padding: 0 .12em; border-radius: .15em; }

/* draft markers – remove body[data-draft] before launch */
.draft-banner { display: none; }
body[data-draft] .draft-banner { display: block; background: repeating-linear-gradient(-45deg, #fff3cd, #fff3cd 12px, #ffe8a1 12px, #ffe8a1 24px);
  color: #5c4400; text-align: center; font-size: var(--text-min); font-weight: 600; padding: 6px 12px; }
body[data-draft] .ph { outline: 2px dashed #d9a300; outline-offset: 3px; border-radius: 6px; }
.ph-tag { display: inline-block; font-size: var(--text-min); font-weight: 700; background: #fff3cd; color: #6b5000; border: 1px dashed #d9a300; border-radius: 6px; padding: 1px 6px; vertical-align: middle; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px rgba(31,77,59,.22); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-dark { background: var(--brand); color: var(--brand-ink); }
.btn-dark:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .95rem; border-radius: 11px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,249,245,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; box-sizing: border-box; }
@media (max-width: 959px) {
  .site-header .logo { min-height: 44px; padding-block: 5px; }
}
.logo svg { width: 34px; height: 34px; }
.logo small { display: block; font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: -4px; }
.nav { display: none; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand-2); }
.header-cta { display: inline-flex; min-height: 44px; padding: 8px 14px; }
.hide-sm { display: none; } .show-sm { display: inline; }

/* hero — text on --bg; media beside (desktop) or video-first (mobile). No text over video. */
.hero { position: relative; overflow: hidden; background: var(--bg); color: var(--text); padding: 44px 0 32px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; align-items: center; }
@media (max-width: 959px) {
  .hero { padding: 0 0 8px; }
  .hero-grid { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
  .hero-intro { order: 1; }
  /* Let video → lead → CTA stack before the figcaption chips (still in DOM for FC/scope). */
  .hero-media { order: 2; margin: 0; max-width: none; display: contents; }
  .hero-video-wrap { order: 2; position: relative; z-index: 2; }
  .hero-body { order: 3; margin: 0; position: relative; z-index: 1; }
  .hero-captions { order: 4; }
  .hero-heading { gap: 4px; margin-bottom: 0; }
  .hero h1 { font-size: clamp(1.35rem, 5.2vw, 1.65rem); line-height: 1.15; }
  .hero .eyebrow { margin-bottom: 10px; font-size: .875rem; }
  .hero-body .lead { font-size: .9rem; margin: 0; line-height: 1.3; }
  .hero-ctas { margin: 6px 0 0; gap: 6px; }
  .hero-points { display: none; }
  .hero-video-wrap {
    width: 100%;
    margin-inline: auto;
    max-height: none;
    height: auto;
    aspect-ratio: auto;
    border-radius: 18px;
    line-height: 0;
  }
  @media (max-width: 420px) {
    /* Equivalent to QA .hero-media{max-width:300px} (~300×375); .hero-media uses display:contents. */
    .hero-video-wrap { max-width: 300px; width: 100%; }
  }
  @media (max-width: 420px) and (max-height: 780px) {
    /* F1 @360×740: video bottom must sit above the fixed sticky_join bar (~66px). */
    .hero-video-wrap { max-width: 296px; }
  }
  @media (min-width: 421px) and (max-width: 959px) {
    /* Tablet stack: cap video height so hero_join stays in the first screen at 768×1024 (F1). */
    .hero-video-wrap { max-width: 360px; width: 100%; }
  }
  .hero-video {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 1080 / 1350;
  }
  .hero-ctas .btn-ghost { display: none; }
  .hero-captions { margin-top: 0; }
  .hero-captions ol { max-height: 1.45em; overflow: hidden; gap: 2px 6px; }
  .hero-captions li { font-size: var(--text-min); line-height: 1.2; padding: 1px 8px; }
  .hero-caption-soon { font-size: var(--text-min); margin: 0; line-height: 1.2; }
  .hero-captions { margin-top: 4px; }
  .hero-actions { margin-top: 0; }
  .hero-actions .btn-primary { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
.hero .eyebrow { background: #e3efe8; color: var(--primary); }
.hero-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 4px; }
.hero-brand-logo { display: none; }
@media (min-width: 960px) {
  .hero-brand-logo { display: block; width: 40px; height: 40px; }
}
.hero-brand-eyebrow { font-size: 1rem; font-weight: 800; letter-spacing: .06em; color: var(--primary); line-height: 1.2; }
.hero h1 { color: var(--text); margin: 0; }
.hero .lead { font-size: 1.15rem; color: var(--text); max-width: 36em; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 18px; }
.hero-ctas .btn-ghost { color: var(--text); border-color: var(--border-strong); }
.hero-trust { margin: 0; font-size: var(--text-min); color: var(--text-muted); }
.hero-trust { margin: 14px 0 0; font-size: .92rem; color: var(--muted, #4b5563); }
.hero-video-wrap { position: relative; }
.hero-video-soon-badge { position: absolute; bottom: 10px; inset-inline-start: 10px; z-index: 2; }
.hero-marquee-band {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(90deg, #1f4d3b 0%, #2d6b4f 50%, #1f4d3b 100%);
  color: #fff;
  overflow: hidden;
  border-block: 3px solid #c8e6d4;
}
.hero-marquee-pause {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin-inline: 12px;
  align-self: center;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.2);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-marquee-pause-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}
.hero-marquee-band.is-paused .hero-marquee-pause-icon {
  width: 4px;
  height: 14px;
  border: none;
  background: #fff;
  box-shadow: 8px 0 0 #fff;
}
.hero-marquee-viewport { position: relative; flex: 1 1 0; min-width: 0; min-height: 52px; overflow: hidden; contain: strict; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero-marquee-track {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  width: max-content;
  max-width: none;
  animation: hero-marquee-scroll 32s linear infinite;
  will-change: transform;
}
.hero-marquee-track li {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.hero-marquee-band.is-paused .hero-marquee-track { animation-play-state: paused; }
@keyframes hero-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { position: relative; inset: auto; animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero-marquee-viewport { min-height: 0; mask-image: none; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-media { width: 100%; max-width: 520px; margin: 0 auto; }
.hero-video-wrap {
  position: relative;
  background: var(--surface-alt);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-video { width: 100%; height: auto; display: block; background: var(--surface-alt); object-fit: contain; object-position: center; }
.hero-video-toggle { position: absolute; inset-inline-end: 10px; inset-block-end: 10px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 12px; border: 2px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle-icon { width: 12px; height: 14px; border-inline-start: 4px solid currentColor; border-inline-end: 4px solid currentColor; }
.hero-captions { margin-top: 14px; }
.hero-captions ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; counter-reset: hero-cap; }
.hero-captions li { counter-increment: hero-cap; font-size: var(--text-min); line-height: 1.35; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.hero-captions li::before { content: counter(hero-cap) ". "; color: var(--primary); font-weight: 700; }
.hero-caption-soon-badge {
  display: inline-block;
  font-size: var(--text-min);
  font-weight: 700;
  line-height: 1.2;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--warning-bg);
  color: var(--accent-text);
  margin-inline-start: 6px;
  vertical-align: middle;
}
.hero-caption-soon { margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: var(--text); text-align: center; }
.hero-video-toggle[aria-label="הפעלת הסרטון"] .hero-video-toggle-icon { width: 0; height: 0; border: 0; border-block-start: 7px solid transparent; border-block-end: 7px solid transparent; border-inline-start: 12px solid currentColor; border-inline-end: 0; }

/* kiosk mock (unused after L3; kept only if a leftover fragment remains) */
.mock-wrap { position: relative; max-width: 440px; margin: 0 auto 30px; width: 100%; }
.tablet { background: #111; border-radius: 30px; padding: 14px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.screen { background: linear-gradient(180deg, #fbf7f1, #f1e9dc); border-radius: 18px; padding: 20px 18px 18px; color: var(--ink); text-align: center; }
.screen .k-top { display: flex; justify-content: space-between; font-size: var(--text-min); color: var(--muted); margin-bottom: 10px; }
.screen .k-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 2px; }
.screen .k-sub { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--brand); }
.dots i.on { background: var(--brand); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; direction: ltr; }
.keypad span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 0; font-weight: 700; font-size: 1.05rem; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.keypad span.go { background: var(--brand); color: #fff; border-color: var(--brand); font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.float-card { position: absolute; left: -6px; bottom: -34px; width: 230px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: var(--text-min); transform: rotate(2deg); }
.float-card b { display: block; font-size: .9rem; margin-bottom: 6px; }
.float-card .row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.float-card .row:last-of-type { border-bottom: 0; }
.float-card .tag { display: inline-block; font-size: var(--text-min); color: var(--muted); margin-top: 4px; }
.pct { font-weight: 800; color: var(--brand-2); }
.pct.r { color: var(--warn); }

/* strip */
.strip { padding: 10px 0 8px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.strip li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.strip li .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; background: #e3efe8; display: grid; place-items: center; font-size: 1.1rem; }

/* cards */
.grid { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--bg-2); margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.pain .card { border-top: 4px solid var(--warn); }
.pain-media-slot { margin: 0 0 14px; aspect-ratio: 16 / 10; width: 100%; min-height: 0; contain: layout style; border-radius: 14px; overflow: hidden; background: var(--surface-alt); border: 1px dashed var(--border-strong); }
.pain-media-slot img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pain-pairs { display: grid; gap: 20px; }
.pain-pair { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pain-pair-pain { background: var(--accent-wash, #f5ebe3); padding: 16px 18px; }
.pain-pair-solution { background: var(--surface-tint, #eef5f0); padding: 14px 18px; }
.pain-pair-pain h3 { margin: 0 0 6px; font-size: 1.1rem; }
.pain-pair-icon { font-size: 1.35rem; display: block; margin-bottom: 6px; }
.pain-pair-pain p, .pain-pair-solution p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.pain .card .q { font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; color: var(--ink); }

.feature-carousel { position: relative; margin: 8px 0 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.feature-carousel-toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.feature-carousel-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--card); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.feature-carousel-track { display: flex; gap: 14px; overflow-x: visible; max-width: 100%; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; padding-bottom: 6px; }
.feature-carousel-track:focus { outline: 2px solid var(--brand); outline-offset: 4px; }
.feature-card { flex: 0 0 min(46vw, 280px); scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
.feature-card h3 { margin: 0 0 6px; font-size: 1rem; }
.feature-card p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.feature-media-slot { margin: 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface-alt); border: 1px solid var(--border-strong); }
.feature-media-slot img, .feature-media-slot video.feature-loop { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-media-slot img.feature-loop-poster { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) and (max-width: 959px) {
  .feature-grid-compact .feature-carousel-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; overflow: visible; scroll-snap-type: none; }
  .feature-grid-compact .feature-card { flex: none; }
  .feature-grid-compact .feature-carousel-toolbar { display: none; }
}
@media (min-width: 960px) {
  .feature-carousel-toolbar { display: none; }
  .feature-grid-compact .feature-carousel-track { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; scroll-snap-type: none; flex-wrap: wrap; gap: 14px; }
  .feature-card { flex: none; }
}
@media (max-width: 599px) {
  .feature-carousel { overflow-x: visible; }
  .feature-grid-compact .feature-carousel-toolbar { display: none; }
  .feature-grid-compact .feature-carousel-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    scroll-snap-type: none;
    flex-wrap: wrap;
  }
  .feature-grid-compact .feature-card { flex: none; min-width: 0; }
}

.vision-mock { max-width: 360px; margin: 0 auto; padding: 16px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 20px; display: grid; gap: 10px; }
.vision-bubble { max-width: 85%; padding: 10px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.4; border: 1px solid var(--border); }
.vision-bubble p { margin: 0; }
.vision-bubble-out { background: var(--card); margin-inline-start: 0; border-end-end-radius: 4px; }
.vision-bubble-in { background: var(--bg-2); margin-inline-start: auto; border-end-start-radius: 4px; }
.vision-today { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 16px; }
.vision-badge { vertical-align: middle; margin-inline-end: 8px; }


.section-cta { text-align: center; margin-top: 28px; }
.funnel-mount { min-height: 0; max-width: 100%; min-width: 0; overflow-x: clip; margin-bottom: 12px; pointer-events: none; }
.funnel-mount:empty:not([data-funnel-live]) { display: none; }

.switch-media-slot { margin: 0 auto 20px; max-width: 640px; }
.switch-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: switch-step; }
.switch-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); counter-increment: switch-step; }
.switch-steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.switch-steps h3::before { content: counter(switch-step) ". "; color: var(--primary); font-weight: 800; }
.switch-steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.section-cta .btn { min-height: 44px; }
.badge { display: inline-block; font-size: var(--text-min); font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--muted); margin-inline-start: 6px; vertical-align: middle; }
.badge.soon { background: var(--warning-bg); color: var(--accent-text); }
.badge.from { background: var(--surface-alt); color: var(--text-muted); }
.badge.live { background: var(--ok-bg); color: var(--ok); }

.tool-section { background: var(--bg-2); }
.field label, .field .lbl { display: block; font-size: var(--text-min); font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 11px 12px; min-height: 48px; }
.field input:focus, .field select:focus { border-color: var(--focus-ring); outline: none; }
.seg { display: flex; background: var(--bg-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { flex: 1; margin: 0; position: relative; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; margin: 0; }
.seg span { display: block; text-align: center; padding: 9px 6px; border-radius: 9px; font-weight: 700; font-size: .95rem; cursor: pointer; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

.disclaimer { font-size: var(--text-min); color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; padding-block: 6px; font-size: var(--text-min); color: var(--ink-2); box-sizing: border-box; }
.check input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--brand); }
.success { display: none; background: var(--ok-bg); color: var(--ok); border-radius: 12px; padding: 14px; font-weight: 600; }
.success.show { display: block; }

/* founder */
.founder { display: grid; gap: 28px; align-items: center; }
.photo-ph { aspect-ratio: 4 / 5; border-radius: 24px; background: linear-gradient(135deg, #e9dfcf, #d9cbb5); display: grid; place-items: center; text-align: center; color: #6d5d49; font-weight: 600; padding: 20px; border: 2px dashed #bca98d; max-width: 420px; width: 100%; margin: 0 auto; }
.photo-ph span { font-size: 3rem; display: block; }
.founder blockquote { margin: 18px 0; padding: 14px 18px; border-inline-start: 4px solid var(--primary); background: #fff; border-radius: 12px; font-size: 1.05rem; color: var(--ink-2); }
.founder .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.founder .facts span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; }
.testi { display: grid; gap: 12px; margin-top: 26px; }
.testi .card { border-style: dashed; box-shadow: none; background: transparent; color: var(--muted); font-size: .92rem; }

/* features */
.features .card h3 { margin-bottom: 6px; }

/* comparison */
.cmp-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cmp-table th, .cmp-table td { padding: 13px 12px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { background: var(--bg-2); font-size: .9rem; }
.cmp-table thead th.us { background: var(--brand); color: #fff; }
.cmp-table td.us { background: #f1f7f3; font-weight: 600; color: var(--brand); }
.cmp-table td.gen { color: var(--muted); }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-note { font-size: var(--text-min); color: var(--muted); text-align: center; margin-top: 12px; }

/* pricing */
.pricing-grid { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,77,59,.12), var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; right: 22px; background: var(--brand); color: #fff; font-size: var(--text-min); font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .p-name { font-weight: 800; font-size: 1.3rem; }
.plan .p-for { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.price .old { text-decoration: line-through; color: var(--muted); font-size: 1.05rem; }
.price .now { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.price .per { color: var(--muted); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-inline-start: 26px; position: relative; font-size: .96rem; }
.plan li::before { content: '✓'; position: absolute; right: 0; color: var(--brand-2); font-weight: 800; }
.price-foot { text-align: center; color: var(--muted); font-size: var(--text-min); margin-top: 16px; }
.price-foot a[data-cta] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 12px; margin: -6px 2px; border-radius: 10px; font-weight: 600; color: var(--primary); text-underline-offset: 3px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 12px 0; min-height: 44px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-sizing: border-box; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--brand-2); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

/* lead form */
.lead-section { background: var(--surface-alt); color: var(--text); }
.lead-grid { display: grid; gap: 28px; }
.lead-section h2 { color: var(--text); }
.lead-section .intro p { color: var(--text-muted); }
.lead-section .intro ul { padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text); }
.lead-section .intro li::before { content: '✓'; color: var(--primary); font-weight: 800; margin-left: 8px; }
.form-card { background: var(--card); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 14px; }
.form-card .req { color: var(--warn); }
.privacy-note { font-size: var(--text-min); color: var(--muted); margin-top: 6px; }
.field-error { color: var(--warn); font-size: var(--text-min); margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--warn); }
.field.invalid .field-error { display: block; }
.form-error { color: var(--warn); font-size: var(--text-min); margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-error a { color: inherit; }
.form-status { display: none; margin-top: 8px; max-width: 100%; color: var(--ink-2); font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.form-status.show { display: block; }

/* footer */
.site-footer { background: var(--surface-alt); color: var(--text-muted); padding: 40px 0 100px; font-size: .9rem; }
.site-footer .footer-copy { margin-top: 20px; font-size: var(--text-min); }
.site-footer a { color: var(--primary); display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; box-sizing: border-box; }
.foot-grid { display: grid; gap: 20px; }
.site-footer .logo { color: var(--text); }

/* sticky mobile CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(251,249,245,.97); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; transform: translateY(110%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
@media (max-width: 959px) {
  /* Fold CTA must be fully on-screen on first paint (no slide-in race with e2e / LCP). */
  .sticky-cta { transition: none; }
  .draft-banner { position: relative; z-index: 1; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.sticky-cta .sticky-cta-btn { flex: 1; min-height: 46px; font-size: .95rem; padding: 8px 10px; }
.sticky-cta-link { flex: 0 1 auto; align-self: center; font-size: var(--text-min); font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; }

/* ===== breakpoints ===== */
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .grid.g2, .grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .testi { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  html { font-size: 18px; }
  .section { padding: 88px 0; }
  .nav { display: flex; }
  .hide-sm { display: inline; } .show-sm { display: none; }
  .hero { padding: 72px 0 56px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: auto auto auto;
    gap: 22px 56px;
    align-items: start;
  }
  .hero-intro { grid-column: 1; grid-row: 1; }
  .hero-body { grid-column: 1; grid-row: 2; }
  .hero-body .lead { margin-top: 0; }
  .hero-media { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 14px; max-width: none; margin: 0; align-self: center; }
  /* Portrait card so the iPhone fills ~80% of the height instead of floating in a wide 16:9 void. */
  .hero-video-wrap { width: 100%; max-height: none; aspect-ratio: 4 / 5; }
  .hero-video { height: 100%; object-fit: cover; }
  .mock-wrap { margin: 0; }
  .strip ul { grid-template-columns: repeat(4, 1fr); }
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .grid.g4 { grid-template-columns: repeat(4, 1fr); }
  .founder { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .lead-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* kiosk mock: employee tiles */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.people span { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px 8px; font-size: var(--text-min); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.people i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 1rem; }
.people span.on { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(31,77,59,.15); }
.people span.on i { background: var(--brand); color: #fff; }
.people b { color: var(--ok); font-size: var(--text-min); }
.k-foot { font-size: var(--text-min); color: var(--muted); }
/* prevent grid blowout on small screens */
.form-grid > *, .grid > * { min-width: 0; }
.field input, .field select { min-width: 0; }

@media (max-width: 639px) {
  .photo-ph { aspect-ratio: 16 / 10; max-width: 100%; }
  .cmp-table thead { display: none; }
  .cmp-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .cmp-table tr:last-child { border-bottom: 0; }
  .cmp-table th[scope=row] { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 4px; }
  .cmp-table td { border-bottom: 0; font-size: .9rem; }
  .cmp-table td::before { display: block; font-size: var(--text-min); font-weight: 700; margin-bottom: 2px; opacity: .75; }
  .cmp-table td.gen::before { content: var(--cmp-mobile-col-today); }
  .cmp-table td.us::before { content: var(--cmp-mobile-col-us); }
}
