/* דף הבית: מיפוי הטוקנים, איפוס, כפתורים, ניווט ופוטר. הצבעים עצמם ב-/shared/brand-tokens.css */
:root {
  color-scheme: light;
  --bg: var(--brand-bg); --surface: var(--brand-surface); --surface-2: var(--brand-surface-2);
  --ink: var(--brand-ink); --ink-2: var(--brand-ink-2); --ink-3: var(--brand-ink-3);
  --line: var(--brand-line); --line-2: var(--brand-line-2);
  --blue: var(--brand-blue); --blue-ink: var(--brand-blue-ink);
  --pink: var(--brand-pink); --pink-ink: var(--brand-pink-ink);
  --green: var(--brand-green); --green-ink: var(--brand-green-ink);
  --lav: var(--brand-lavender); --lav-ink: var(--brand-lavender-ink);
  --font: var(--brand-font); --ease: var(--ease-brand);
  --nav-h: 76px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip }
h1, h2, h3, p { margin: 0 }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance }
a { color: inherit }
img, svg { max-width: 100% }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
::selection { background: var(--pink) }
[dir="ltr"], .ltr { direction: ltr; unicode-bidi: isolate }

/* נגישות: מסגרת פוקוס ברורה וקישור דילוג */
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; border-radius: 8px }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 700 }
.skip:focus { top: 12px }

/* לפני ההשקה (ברירת המחדל) / אחריה (html.launched) */
html.launched .pre-only { display: none !important }
html:not(.launched) .live-only { display: none !important }

/* ---------- כפתורים: לפחות 48px גובה, לחיצה מתכווצת קצת, ריחוף רק בעכבר */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: var(--rad-pill); font: 700 17px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 200ms ease, box-shadow 200ms ease }
.btn:active { transform: scale(.97) }
.btn.primary { background: var(--ink); color: var(--surface) }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2) }
.btn.lg { min-height: 56px; padding: 14px 30px; font-size: 18px }
.btn.light { background: var(--surface); color: var(--ink) }
.btn.outline-light { background: transparent; color: var(--surface); box-shadow: inset 0 0 0 1.5px rgba(255,254,250,.5) }
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { background: #3A3D34 }
  .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2) }
  .btn.outline-light:hover { background: rgba(255,254,250,.08) }
}

/* ---------- ניווט דביק */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); transition: border-color 200ms ease }
.nav.scrolled { border-bottom-color: var(--line) }
.nav .bar { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h) }
.brand { display: block; height: 34px; flex: none; text-decoration: none; border-radius: 10px }
.loop-logo { display: block; height: 100%; width: auto; overflow: visible; color: var(--ink) }
.loop-logo .ll-eye { transform-box: view-box }
.logo-img { display: block; height: 100%; width: auto }
.links { display: flex; gap: 4px; margin-inline-start: auto; align-items: center }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--rad-pill); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 16px; transition: color 160ms ease, background-color 160ms ease }
.nav-cta { display: flex; gap: 8px; align-items: center }
.nav-cta .login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 700; font-size: 16px; border-radius: var(--rad-pill) }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 16px }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); cursor: pointer; place-items: center }
.menu-btn svg { width: 22px; height: 22px }
.menu-panel { display: none }
@media (hover: hover) and (pointer: fine) { .links a:hover, .nav-cta .login:hover { color: var(--ink); background: var(--surface-2) } }
@media (max-width: 960px) {
  .links, .nav-cta .login { display: none }
  .nav-cta { margin-inline-start: auto }
  .menu-btn { display: grid }
  .nav .bar { gap: 10px; min-height: 64px }
  .brand { height: 30px }
  .menu-panel:not([hidden]) { display: grid; gap: 2px; padding: 8px 0 16px; border-top: 1px solid var(--line) }
  .menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 8px; font-weight: 600; text-decoration: none; border-radius: 12px }
}
@media (max-width: 400px) { .nav .btn { padding: 10px 14px; font-size: 15px } }

/* ---------- כותרות קטעים */
.sec { position: relative; padding-block: clamp(72px, 9vw, 128px) 0; scroll-margin-top: 80px }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink-2) }
.sec h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 10px 0 16px; max-width: 20ch }
.lead { color: var(--ink-2); font-size: clamp(18px, 1.5vw, 20px); max-width: 60ch; text-wrap: pretty }
.demo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--rad-pill); padding: 3px 10px }

/* ---------- פוטר */
.foot { padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); margin-top: 24px }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px }
@media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr 1fr } }
.foot-cols div { display: grid; gap: 2px; align-content: start; font-size: 16px }
.foot-cols b { margin-bottom: 6px }
.foot-cols a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; width: fit-content }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { color: var(--ink); text-decoration: underline } }
.foot-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; color: var(--ink-2); font-size: 15px }
.foot-logo { display: block; height: 36px }
