/* ==========================================================================
   Vote4U — דף הנחיתה
   --------------------------------------------------------------------------
   העיצוב הולך אחרי הלוגו: כחול בחירות עמוק כרקע, כחול מלכותי לפעולות, וטורקיז
   שמסמן רק את הדבר החי על המסך. הדף בנוי כשלושה מהלכים — לילה (Hero), יום
   (היכולות), ולילה שוב (יום הבחירות וה-CTA) — כדי שהקריאה תנשום.

   טיפוגרפיה: Heebo לכותרות (משקלים כבדים, מרווח אותיות מהודק) ו-Assistant
   לגוף הטקסט. שתיהן עבריות מלאות, כך שאין נפילה לגופן מערכת באמצע משפט.

   הסדר: טוקנים → בסיס → אטומים → ניווט → Hero → מקטעים → פוטר → רספונסיביות.
   ========================================================================== */

/* ---------------------------------------------------------------- טוקנים -- */
:root {
    /* מותג */
    --ink: #060b1c;
    --navy: #0a1330;
    --navy-2: #0e1b42;
    --royal: #122f7a;
    --blue: #2456c5;
    --blue-lt: #3b7bf0;
    --sky: #7db2ea;
    --teal: #22b8ab;
    --teal-lt: #2ee6d0;

    /* משטחים בהירים */
    --paper: #ffffff;
    --paper-2: #f4f7fd;
    --paper-3: #eaf0fa;
    --line: #dde6f4;

    /* דיו */
    --text: #16203c;
    --text-2: #4b5c7d;
    --text-3: #7d8daa;
    --on-dark: #ffffff;
    --on-dark-2: #a9bee0;
    --on-dark-3: #7f97c2;

    /* גופנים */
    --font-display: "Heebo", "Segoe UI", system-ui, sans-serif;
    --font-body: "Assistant", "Heebo", "Segoe UI", system-ui, sans-serif;

    /* מידות */
    --wrap: 1200px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* צללים */
    --sh-sm: 0 2px 8px rgba(12, 26, 60, .06);
    --sh-md: 0 12px 32px -8px rgba(12, 26, 60, .14);
    --sh-lg: 0 40px 80px -24px rgba(9, 20, 48, .30);
    --sh-glow: 0 18px 44px -12px rgba(36, 86, 197, .55);

    --ease: cubic-bezier(.22, .9, .3, 1);
}


/* ----------------------------------------------------------------- בסיס -- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin: 0;
    text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; list-style: none; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
    outline: 2px solid var(--teal-lt);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 200;
    padding: 12px 20px;
    border-radius: var(--r-sm);
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    transition: top .2s var(--ease);
}

.skip:focus { top: 16px; }

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

.wrap--narrow { width: min(100% - 44px, 800px); }


/* --------------------------------------------------------------- אטומים -- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease),
                background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}

.btn--lg { padding: 15px 30px; font-size: 17px; }

.btn--solid {
    background: linear-gradient(135deg, var(--blue-lt) 0%, var(--blue) 55%, #1c40a0 100%);
    color: #fff;
    box-shadow: var(--sh-glow);
}

.btn--solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 54px -12px rgba(36, 86, 197, .68);
}

.btn--glass {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .20);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .34);
    transform: translateY(-2px);
}

.btn--ghost { color: var(--on-dark-2); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* החץ ב-RTL מצביע שמאלה — לכיוון שאליו הקריאה ממשיכה. */
.btn__arrow { width: 18px; height: 18px; transition: transform .22s var(--ease); }
.btn--solid:hover .btn__arrow { transform: translateX(-4px); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 18px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #cfe0fb;
    font-size: 14.5px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.tag__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-lt);
    box-shadow: 0 0 0 4px rgba(46, 230, 208, .2);
    animation: beat 2.4s var(--ease) infinite;
}

@keyframes beat {
    0%, 100% { box-shadow: 0 0 0 4px rgba(46, 230, 208, .2); }
    50%      { box-shadow: 0 0 0 9px rgba(46, 230, 208, 0); }
}

.brand { display: inline-flex; align-items: center; gap: 11px; }

.brand__mark {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
}

.brand__word {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.045em;
    color: #fff;
    direction: ltr;
}


/* ----------------------------------------------- שמיים: ההילות והרשת -- */
.sky {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(110px);
    will-change: transform;
}

.blob--1 { width: 900px; height: 900px; inset-inline-end: -280px; top: -420px; background: rgba(36, 86, 197, .62); }
.blob--2 { width: 620px; height: 620px; inset-inline-start: -240px; top: 120px;  background: rgba(23, 61, 151, .58); }
.blob--3 { width: 520px; height: 520px; inset-inline-end: 22%;      bottom: -300px; background: rgba(34, 184, 171, .22); }
.blob--4 { width: 700px; height: 700px; inset-inline-start: -260px; top: -220px; background: rgba(36, 86, 197, .38); }
.blob--5 { width: 520px; height: 520px; inset-inline-end: -200px;   bottom: -240px; background: rgba(34, 184, 171, .20); }
.blob--6 { width: 820px; height: 820px; inset-inline-end: -220px;   top: -300px; background: rgba(36, 86, 197, .55); }
.blob--7 { width: 560px; height: 560px; inset-inline-start: -180px; bottom: -280px; background: rgba(34, 184, 171, .26); }

.mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 62px 62px;
    -webkit-mask-image: radial-gradient(110% 90% at 72% 12%, #000 18%, transparent 76%);
            mask-image: radial-gradient(110% 90% at 72% 12%, #000 18%, transparent 76%);
}


/* ----------------------------------------------------------------- ניווט -- */
.nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    background: rgba(9, 17, 42, .72);
    border-bottom-color: rgba(255, 255, 255, .09);
    backdrop-filter: blur(18px) saturate(1.4);
}

.nav__in {
    width: min(100% - 44px, var(--wrap));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 82px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: 18px;
    margin-inline-end: auto;
}

.nav__links a {
    padding: 9px 15px;
    border-radius: var(--r-pill);
    color: var(--on-dark-2);
    font-size: 15.5px;
    font-weight: 600;
    transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.nav__act { display: flex; align-items: center; gap: 10px; }

.burger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
    cursor: pointer;
}

.burger span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #fff;
    transition: transform .26s var(--ease), opacity .2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ------------------------------------------------------------------ Hero -- */
.hero {
    position: relative;
    padding: 152px 0 76px;
    background:
        radial-gradient(120% 100% at 82% 0%, #16367f 0%, transparent 58%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 62%, #0b1531 100%);
    color: var(--on-dark);
    isolation: isolate;
    overflow: hidden;
}

.hero__in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 60px;
    padding-bottom: 84px;
}

.hero h1 {
    margin: 22px 0 0;
    font-size: clamp(42px, 5.6vw, 76px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.hero h1 em {
    display: block;
    font-style: normal;
    background: linear-gradient(100deg, #ffffff 8%, #8fd7ff 52%, var(--teal-lt) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lede {
    max-width: 54ch;
    margin-top: 24px;
    color: var(--on-dark-2);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.72;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 38px;
}

.hero__micro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 30px;
    color: var(--on-dark-3);
    font-size: 14.5px;
    font-weight: 500;
}

.hero__micro li { display: flex; align-items: center; gap: 9px; }

.hero__micro li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex: none;
}


/* -------------------------------------------------- הדשבורד שב-Hero -- */
.hero__art { position: relative; padding: 26px 0; }

.board {
    position: relative;
    padding: 22px;
    border-radius: var(--r-xl);
    background: linear-gradient(165deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 46%, rgba(255, 255, 255, .03) 100%);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: var(--sh-lg);
    backdrop-filter: blur(22px);
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-13px); }
}

.board__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.board__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: rgba(46, 230, 208, .14);
    color: var(--teal-lt);
    font-size: 12.5px;
    font-weight: 700;
}

.board__live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-lt);
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.board__title { color: var(--on-dark-2); font-size: 13.5px; font-weight: 600; }

.board__dots { display: flex; gap: 5px; margin-inline-start: auto; }
.board__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); }

.board__hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

.board__label {
    display: block;
    color: var(--on-dark-3);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.board__big {
    display: block;
    margin-top: 2px;
    font-family: var(--font-display);
    font-size: clamp(40px, 4.6vw, 56px);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.board__delta {
    padding: 5px 13px;
    border-radius: var(--r-pill);
    background: rgba(46, 230, 208, .13);
    border: 1px solid rgba(46, 230, 208, .25);
    color: var(--teal-lt);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.spark { width: 100%; height: 76px; margin: 12px 0 4px; display: block; }

.spark__line {
    stroke: var(--teal-lt);
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
}

.spark__area { opacity: 0; stroke: none; }

.is-in .spark__line { animation: draw 1.7s var(--ease) .35s forwards; }
.is-in .spark__area { animation: fadein .9s var(--ease) 1.3s forwards; }

@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.board__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin: 14px 0 18px;
}

.mini {
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
}

.mini span { display: block; color: var(--on-dark-3); font-size: 12px; font-weight: 600; }

.mini b {
    display: block;
    margin-top: 2px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.board__ballots { display: grid; gap: 9px; }

.bar {
    display: grid;
    grid-template-columns: 62px 1fr 40px;
    align-items: center;
    gap: 11px;
}

.bar i { color: var(--on-dark-3); font-size: 12.5px; font-style: normal; font-weight: 600; }

.bar b {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: start;
    font-variant-numeric: tabular-nums;
}

.bar__t {
    height: 7px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .10);
    overflow: hidden;
}

.bar__f {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-lt) 100%);
    transition: width 1.4s var(--ease);
}

.bar__f.is-good { background: linear-gradient(90deg, var(--teal) 0%, var(--teal-lt) 100%); }

.is-in .bar__f { width: var(--w); }

/* שני הצ'יפים שמרחפים מעל הלוח — הרגע שבו סימון בשטח מגיע למסך. */
.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 15px;
    border-radius: 18px;
    background: rgba(11, 21, 49, .82);
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .6);
    backdrop-filter: blur(16px);
    color: #fff;
    font-size: 13.5px;
    line-height: 1.35;
    animation: float 9s ease-in-out infinite;
}

.chip b { font-weight: 700; }
.chip i { display: block; color: var(--on-dark-3); font-size: 11.5px; font-style: normal; }

.chip__ic {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: rgba(46, 230, 208, .18);
    color: var(--teal-lt);
    font-size: 14px;
    font-weight: 700;
}

.chip__ic--blue { background: rgba(59, 123, 240, .2); color: #8fbcff; }

.chip--a { inset-inline-end: -30px; top: -22px; animation-delay: .9s; }
.chip--b { inset-inline-start: -26px; bottom: -26px; animation-delay: 2.1s; }


/* ------------------------------------------------------------- רצועת מספרים -- */
.strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 4px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .11);
    overflow: hidden;
}

.strip li {
    padding: 22px 20px;
    background: rgba(10, 19, 48, .55);
    text-align: center;
}

.strip li:first-child { border-start-start-radius: 20px; border-end-start-radius: 20px; }
.strip li:last-child  { border-start-end-radius: 20px; border-end-end-radius: 20px; }

.strip b {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.strip span { display: block; margin-top: 3px; color: var(--on-dark-3); font-size: 13.5px; }


/* --------------------------------------------------------------- מקטעים -- */
.sec { position: relative; padding: 118px 0; }

.sec--light {
    background: var(--paper-2);
    color: var(--text);
}

/* נגיעת אור אחת בראש האזור הבהיר, כדי שהמעבר מהלילה לא ייפול לשטוח. */
#features::before,
#security::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 420px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

#features > .wrap,
#security > .wrap { position: relative; }

.sec--light + .sec--light { padding-top: 0; }
.sec--tight { padding-bottom: 128px; }

.sec--dark {
    background: linear-gradient(180deg, #0b1531 0%, var(--navy-2) 48%, #0b1531 100%);
    color: var(--on-dark);
    overflow: hidden;
    isolation: isolate;
}

.head { max-width: 720px; margin: 0 auto 62px; text-align: center; }
.head--start { margin-inline: 0; text-align: start; }

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 15px;
    border-radius: var(--r-pill);
    background: var(--paper-3);
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.sec--dark .eyebrow { background: rgba(46, 230, 208, .12); color: var(--teal-lt); }

.head h2 {
    font-size: clamp(32px, 3.9vw, 50px);
    font-weight: 900;
    letter-spacing: -.04em;
}

.head h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sec--dark .head h2 em {
    background: linear-gradient(100deg, #8fd7ff 0%, var(--teal-lt) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.head p {
    margin-top: 18px;
    color: var(--text-2);
    font-size: 18px;
    line-height: 1.7;
}

.sec--dark .head p { color: var(--on-dark-2); max-width: 60ch; }


/* --------------------------------------------------------------- בנטו -- */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cell {
    position: relative;
    padding: 30px 30px 32px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.cell:hover {
    transform: translateY(-5px);
    border-color: #c3d5ee;
    box-shadow: var(--sh-md);
}

.cell--wide { grid-column: span 2; }

.cell__ic {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #e6eefb);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px -4px rgba(36, 86, 197, .22);
    color: var(--blue);
    transition: transform .3s var(--ease), color .3s var(--ease);
}

.cell__ic svg { width: 25px; height: 25px; stroke-width: 1.7; }

.cell:hover .cell__ic { transform: translateY(-2px) scale(1.04); color: var(--teal); }

.cell h3 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.cell p {
    margin-top: 11px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.66;
}

.cell--wide h3,
.cell--wide p { max-width: 58ch; }

.cell p a,
.faq a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(36, 86, 197, .35);
    transition: text-decoration-color .2s var(--ease);
}

.cell p a:hover,
.faq a:hover { text-decoration-color: var(--blue); }

.cell__art { position: absolute; pointer-events: none; }

/* הדופק החי בכרטיס זמן האמת */
.cell__art--live {
    inset-inline-end: 28px;
    top: 34px;
    width: 76px;
    height: 76px;
}

.pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--teal);
    opacity: 0;
    animation: ripple 3s var(--ease) infinite;
    animation-delay: calc(var(--i, 0) * 1s);
}

@keyframes ripple {
    0%   { transform: scale(.3); opacity: .55; }
    100% { transform: scale(1);  opacity: 0; }
}

/* שורות הטבלה המרומזות בכרטיס התושבים */
.cell__art--rows {
    inset-inline-end: 26px;
    bottom: 26px;
    display: grid;
    gap: 7px;
    width: 128px;
}

.cell__art--rows span {
    height: 8px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--paper-3), transparent);
}

.cell__art--rows span:nth-child(1) { width: 100%; }
.cell__art--rows span:nth-child(2) { width: 76%; }
.cell__art--rows span:nth-child(3) { width: 88%; }
.cell__art--rows span:nth-child(4) { width: 58%; background: linear-gradient(90deg, rgba(34, 184, 171, .35), transparent); }

.cell__art--bars {
    inset-inline-end: 30px;
    bottom: 30px;
    display: grid;
    grid-template-columns: repeat(6, 12px);
    align-items: end;
    gap: 7px;
    height: 76px;
}

.cell__art--bars span {
    height: 0;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #cddffa, #e9f0fb);
    transition: height .9s var(--ease);
}

.cell__art--bars span:last-child { background: linear-gradient(180deg, rgba(34, 184, 171, .55), rgba(34, 184, 171, .12)); }

.is-in .cell__art--bars span { height: var(--h); }


/* ------------------------------------------------------- יום הבחירות -- */
.day {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 64px;
    align-items: start;
}

.day__line { position: relative; display: grid; gap: 6px; }

.day__line::before {
    content: "";
    position: absolute;
    inset-inline-start: 7px;
    top: 12px;
    bottom: 34px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue-lt), var(--teal) 70%, transparent);
    opacity: .45;
}

.day__line li {
    position: relative;
    padding: 0 40px 34px 0;
    padding-inline-start: 40px;
    padding-inline-end: 0;
}

.day__line li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 11px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--navy-2);
    border: 2px solid var(--blue-lt);
    box-shadow: 0 0 0 5px rgba(59, 123, 240, .14);
}

.day__line li:last-child::before { border-color: var(--teal-lt); box-shadow: 0 0 0 5px rgba(46, 230, 208, .16); }

.day__time {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--teal-lt);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    direction: ltr;
}

.day h3 { font-size: 22px; font-weight: 800; }

.day p { margin-top: 8px; color: var(--on-dark-2); font-size: 16px; line-height: 1.68; max-width: 52ch; }

/* לוח הקיר בזעיר אנפין */
.wall {
    position: sticky;
    top: 112px;
    padding: 26px;
    border-radius: var(--r-xl);
    background: linear-gradient(165deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: var(--sh-lg);
    backdrop-filter: blur(20px);
    text-align: center;
}

.wall__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--on-dark-3);
    font-size: 12.5px;
    font-weight: 600;
}

.wall__live { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-lt); }

.wall__live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-lt);
    animation: blink 1.6s ease-in-out infinite;
}

.wall__num {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: clamp(64px, 8vw, 88px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.wall__num em {
    font-style: normal;
    font-size: .42em;
    color: var(--teal-lt);
    margin-inline-start: 2px;
}

.wall__sub { margin-top: 8px; color: var(--on-dark-2); font-size: 14.5px; }

.wall__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    gap: 5px;
    height: 96px;
    margin: 24px 0 14px;
}

.wall__grid span {
    height: 0;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--blue-lt), rgba(36, 86, 197, .35));
    transition: height 1.1s var(--ease);
    transition-delay: calc(var(--n, 0) * 55ms);
}

.is-in .wall__grid span { height: var(--h); }

.wall__grid span:nth-child(6),
.wall__grid span:nth-child(10) { background: linear-gradient(180deg, var(--teal-lt), rgba(34, 184, 171, .3)); }

.wall__foot {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: var(--on-dark-3);
    font-size: 12.5px;
}



/* --------------------------------------------------------------- אבטחה -- */
/*
 * לוח התקן הוא הכרטיס הכהה היחיד באזור בהיר: הוא נושא את הטענה, והכרטיסים
 * שמתחתיו הם גיליון המפרט שמאחוריה.
 */
.std {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 30px;
    margin-bottom: 26px;
    padding: 38px 40px 40px;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--navy-2) 0%, var(--royal) 62%, #0d1c48 100%);
    color: var(--on-dark);
    box-shadow: var(--sh-lg);
}

/* הילה אחת מאחורי החותם, כדי שהלוח לא ייקרא כמלבן שטוח. */
.std::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-start: -70px;
    top: -110px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 230, 208, .26), transparent 66%);
}

.std__seal {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    color: var(--teal-lt);
    backdrop-filter: blur(8px);
}

.std__seal svg { width: 40px; height: 40px; stroke-width: 1.5; }

.std__kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--teal-lt);
    font-size: 13.5px;
    font-weight: 700;
}

.std__body h3 {
    font-size: clamp(21px, 2.4vw, 29px);
    font-weight: 900;
    letter-spacing: -.035em;
}

.std__body p {
    margin-top: 14px;
    max-width: 76ch;
    color: var(--on-dark-2);
    font-size: 16.5px;
    line-height: 1.72;
}

.std__body p b { color: #fff; font-weight: 700; }

.std__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.std__chips li {
    padding: 7px 16px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .17);
    color: #cfe0fb;
    font-size: 14px;
    font-weight: 600;
}

.locks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lock {
    padding: 28px 28px 30px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.lock:hover {
    transform: translateY(-4px);
    border-color: #c3d5ee;
    box-shadow: var(--sh-md);
}

.lock h3 {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 20px;
    font-weight: 800;
}

.lock__ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, #ffffff, #e6eefb);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px -5px rgba(36, 86, 197, .22);
    color: var(--blue);
    transition: color .3s var(--ease), transform .3s var(--ease);
}

.lock__ic svg { width: 21px; height: 21px; stroke-width: 1.7; }

.lock:hover .lock__ic { color: var(--teal); transform: scale(1.05); }

.lock ul { display: grid; gap: 11px; margin-top: 18px; }

.lock li {
    position: relative;
    padding-inline-start: 23px;
    color: var(--text-2);
    font-size: 15.5px;
    line-height: 1.62;
}

/* וי ולא נקודה — כל שורה כאן היא בקרה שקיימת. הצורה פיזית, כדי שלא תתהפך ב-RTL. */
.lock li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 8px;
    width: 9px;
    height: 5px;
    border: 2px solid var(--teal);
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg);
}

.lock li b { color: var(--text); font-weight: 700; }

.note {
    margin-top: 26px;
    padding: 21px 26px;
    border-radius: var(--r-md);
    background: rgba(36, 86, 197, .055);
    border: 1px solid #d7e3f6;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.72;
}

.note b { color: var(--text); font-weight: 700; }


/* --------------------------------------------------------------- צעדים -- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.step {
    position: relative;
    padding: 34px 32px 36px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.step__n {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
    background: linear-gradient(160deg, var(--blue) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    direction: ltr;
}

.step h3 { font-size: 22px; font-weight: 800; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 16px; line-height: 1.66; }


/* ------------------------------------------------------------------ שאלות -- */
.faq { display: grid; gap: 12px; }

.faq details {
    border-radius: var(--r-md);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.faq details[open] { border-color: #c3d5ee; box-shadow: var(--sh-md); }

.faq summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: -.02em;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "";
    width: 11px;
    height: 11px;
    flex: none;
    margin-inline-start: auto;
    border: 2px solid var(--blue);
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .28s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq details > div { padding: 0 24px 22px; }
.faq details p { color: var(--text-2); font-size: 16px; line-height: 1.7; }


/* --------------------------------------------------------------------- CTA -- */
.cta {
    position: relative;
    padding: 118px 0 124px;
    background: linear-gradient(180deg, #0b1531 0%, var(--royal) 55%, #0b1531 100%);
    color: var(--on-dark);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.cta__in { position: relative; max-width: 720px; }

.cta__mark {
    width: 190px;
    height: auto;
    margin: 0 auto 26px;
    filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .5));
    animation: float 9s ease-in-out infinite;
}

.cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; letter-spacing: -.04em; }

.cta p {
    margin: 18px auto 0;
    max-width: 52ch;
    color: var(--on-dark-2);
    font-size: 18px;
    line-height: 1.7;
}

.cta .btn--solid {
    background: #fff;
    color: #10265f;
    box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .5);
}

.cta .btn--solid:hover { background: #eaf1ff; box-shadow: 0 26px 56px -14px rgba(0, 0, 0, .55); }

.cta__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 36px; }

.cta__note { display: block; margin-top: 22px; color: rgba(255, 255, 255, .62); font-size: 14px; }


/* ------------------------------------------------------------------- פוטר -- */
.foot { background: var(--ink); color: var(--on-dark-2); padding: 72px 0 30px; }

.foot__in {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 44px;
    padding-bottom: 48px;
}

.foot__brand p { margin-top: 16px; max-width: 40ch; color: var(--on-dark-3); font-size: 15px; line-height: 1.65; }

.foot__col h4 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.foot__col a {
    display: block;
    padding: 5px 0;
    color: var(--on-dark-3);
    font-size: 15px;
    transition: color .2s var(--ease);
}

.foot__col a:hover { color: #fff; }

.share {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-bottom: 9px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .05);
    color: var(--on-dark-2);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.share:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .26); }
.share svg { width: 17px; height: 17px; flex: none; }
.share--wa:hover { border-color: rgba(37, 211, 102, .5); color: #4be08a; }
.share.is-done { border-color: rgba(46, 230, 208, .5); color: var(--teal-lt); }

.foot__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--on-dark-3);
    font-size: 13.5px;
}

.foot__made { color: #5d708f; }


/* ------------------------------------------------------- חשיפה בגלילה -- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
    transition-delay: calc(var(--d, 0) * 110ms);
}

.reveal.is-in { opacity: 1; transform: none; }


/* ------------------------------------------------------------ רספונסיביות -- */
@media (max-width: 1080px) {
    .hero__in { grid-template-columns: 1fr; gap: 64px; padding-bottom: 64px; }
    .hero__art { max-width: 560px; margin-inline: auto; width: 100%; }
    .day { grid-template-columns: 1fr; gap: 48px; }
    .wall { position: static; max-width: 460px; margin-inline: auto; width: 100%; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .cell--wide { grid-column: span 2; }
    .locks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav__links {
        position: fixed;
        inset-inline: 14px;
        top: 78px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 12px;
        border-radius: var(--r-lg);
        background: rgba(9, 17, 42, .96);
        border: 1px solid rgba(255, 255, 255, .12);
        box-shadow: var(--sh-lg);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }

    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__links a { padding: 13px 16px; font-size: 16.5px; }

    .nav__act { margin-inline-start: auto; }
    .nav__act .btn--ghost { display: none; }
    .burger { display: block; }

    .steps { grid-template-columns: 1fr; }
    .strip { grid-template-columns: repeat(2, 1fr); }
    .strip li { border-radius: 18px !important; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .wrap, .wrap--narrow, .nav__in { width: calc(100% - 32px); }

    .hero { padding-top: 122px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .chip--a { inset-inline-end: -6px; top: -18px; }
    .chip--b { inset-inline-start: -6px; bottom: -20px; }
    .chip { font-size: 12.5px; padding: 9px 12px; }

    .sec { padding: 84px 0; }
    .cta { padding: 88px 0 92px; }
    .bento, .strip, .locks { grid-template-columns: 1fr; }

    .std { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px 32px; }
    .std__seal { width: 64px; height: 64px; border-radius: 19px; }
    .std__seal svg { width: 31px; height: 31px; }
    .note { padding: 18px 20px; }
    .cell--wide { grid-column: span 1; }
    .cell { padding: 26px 24px 28px; }
    .cell__art--live, .cell__art--rows { display: none; }

    .foot__in { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot__brand { grid-column: 1 / -1; }
    .head { margin-bottom: 44px; }
}

@media (max-width: 420px) {
    .brand__mark { width: 42px; height: 42px; }
    .brand__word { font-size: 22px; }
    .chip--a, .chip--b { display: none; }
}


/* ------------------------------------------------------------- העדפות -- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal { opacity: 1; transform: none; }
    .spark__line { stroke-dashoffset: 0; }
    .spark__area { opacity: 1; }
    .bar__f { width: var(--w); }
    .wall__grid span,
    .cell__art--bars span { height: var(--h); }
    .pulse { opacity: .28; transform: scale(.72); }
}

@media print {
    .nav, .sky, .chip, .skip { display: none; }
    body { background: #fff; color: #000; }
}
