/* Shared styles for all product mini-sites. Each product sets --hue; everything else derives from it. */
:root {
  --hue: 210;
  --accent: hsl(var(--hue) 72% 46%);
  --accent-dark: hsl(var(--hue) 72% 34%);
  --accent-bright: hsl(var(--hue) 85% 62%);
  --accent-soft: hsl(var(--hue) 70% 95%);
  --accent-line: hsl(var(--hue) 50% 85%);
  --dark: hsl(var(--hue) 40% 10%);
  --dark-2: hsl(var(--hue) 35% 16%);
  --bg: #ffffff;
  --bg-alt: hsl(var(--hue) 30% 97.5%);
  --ink: #141a21;
  --muted: #5d6876;
  --line: #e4e8ee;
  --ok: #167a4b;
  --err: #b42318;
  --err-soft: #fdecea;
  --radius: 14px;
  --display: "Bricolage Grotesque", "Rubik", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --body: "Inter", "Rubik", ui-sans-serif, system-ui, "Segoe UI", "Noto Sans Hebrew", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}
html[lang="he"] { --display: "Rubik", "Segoe UI", "Noto Sans Hebrew", sans-serif; --body: "Rubik", "Segoe UI", "Noto Sans Hebrew", sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; }
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--mono); }
.kicker { display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.sec-h { max-width: 62ch; margin-bottom: 28px; }
.sec-h p { color: var(--muted); font-size: 1.08rem; }
.ic { width: 22px; height: 22px; flex: none; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.mark { flex: none; }
.links { display: flex; gap: 22px; margin-inline-start: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.links a:hover { color: var(--ink); }
.nav-in > .btn { margin-inline-start: auto; }
.links + .btn { margin-inline-start: 0; }
@media (max-width: 800px) { .links { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 0.08s, box-shadow 0.15s, background 0.15s; }
.btn:hover { background: var(--bg-alt); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -10px hsl(var(--hue) 70% 40% / 0.8); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 14px; font-size: 0.92rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

/* hero (dark) */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 72px 0 60px; isolation: isolate; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 36px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); font-size: 0.85rem; font-weight: 500; margin-bottom: 20px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px hsl(var(--hue) 85% 62% / 0.25); }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.22rem; color: rgba(255,255,255,0.78); max-width: 56ch; }
.hero .checks li { color: rgba(255,255,255,0.88); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(255,255,255,0.62); font-size: 0.88rem; margin-top: 6px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { width: 16px; height: 16px; }
.screen-wrap { position: relative; }
.screen { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
html[dir="rtl"] .screen { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.toast { position: absolute; inset-inline-end: -8px; bottom: -18px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6); font-size: 0.88rem; font-weight: 600; max-width: 80%; }
.toast i { width: 26px; height: 26px; border-radius: 50%; background: #e8f7ee; color: var(--ok); display: grid; place-items: center; flex: none; }
.toast i .ic { width: 15px; height: 15px; }
.toast span { color: var(--muted); font-weight: 400; display: block; font-size: 0.8rem; }
@media (max-width: 900px) { .screen { transform: none; } .toast { position: static; margin-top: 12px; max-width: none; } }

/* checks */
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 9px; }
.checks li { padding-inline-start: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-bright); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23000'/%3E%3Cpath d='M6 10.3l2.6 2.6 5.4-5.4' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23000'/%3E%3Cpath d='M6 10.3l2.6 2.6 5.4-5.4' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; }
.sec .checks li::before { background: var(--accent); }

/* stats strip */
.stats { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.stat { padding: 26px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--accent-dark); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat p { margin: 0; font-size: 0.95rem; color: var(--ink); }
.stat a { display: inline-block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 760px) { .stat { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline: 0; } .stat:first-child { border-top: 0; } }

/* sections */
.sec { padding: 72px 0; }
.sec.alt { background: var(--bg-alt); }
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 18px; }
.facts li { padding: 12px 16px; border-inline-start: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 10px 10px 0; font-size: 0.97rem; }
html[dir="rtl"] .facts li { border-radius: 10px 0 0 10px; }
.facts a { display: block; font-size: 0.82rem; margin-top: 4px; color: var(--muted); }
.ba { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ba > div { padding: 22px 24px; }
.ba .before { background: #fff; }
.ba .after { background: var(--dark); color: #fff; }
.ba h3 { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); color: var(--muted); font-weight: 600; }
.ba .after h3 { color: var(--accent-bright); }
.ba ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ba .before li { padding-inline-start: 24px; position: relative; color: var(--muted); }
.ba .before li::before { content: "×"; position: absolute; inset-inline-start: 4px; color: var(--err); font-weight: 700; }
.ba .after li { padding-inline-start: 26px; position: relative; }
.ba .after li::before { content: "✓"; position: absolute; inset-inline-start: 2px; color: var(--accent-bright); font-weight: 700; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; position: relative; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; position: relative; }
.steps li .num { position: absolute; top: -14px; inset-inline-start: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; font-weight: 700; }
.steps li .ic { color: var(--accent-dark); width: 26px; height: 26px; margin-bottom: 10px; }
.steps li p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 0.15s, box-shadow 0.15s; }
.feat:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px hsl(var(--hue) 50% 30% / 0.5); }
.feat .icw { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.97rem; }
.card.plain { background: transparent; border-color: var(--accent-line); }

.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .screens { grid-template-columns: 1fr; } }
.shot { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.shot .screen { transform: none; box-shadow: 0 24px 50px -30px rgba(0,0,0,0.45); }
.shot figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }
.shot figcaption b { color: var(--ink); display: block; margin-bottom: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-top: 18px; }
.marquee .track { display: flex; gap: 10px; width: max-content; animation: slide 28s linear infinite; }
.marquee .track span { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.92rem; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee .track { animation-direction: reverse; }

.pricing-note { color: var(--muted); max-width: 70ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 18px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; background: #fff; display: flex; flex-direction: column; }
.plan.hi { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--accent), hsl(calc(var(--hue) + 50) 75% 55%)) border-box; border: 2px solid transparent; box-shadow: 0 24px 50px -30px hsl(var(--hue) 60% 40% / 0.6); }
.plan .ribbon { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--accent); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan .price { margin: 4px 0 2px; }
.plan .price b { font-family: var(--display); font-size: 2.4rem; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); }
.plan .desc { color: var(--muted); font-size: 0.95rem; }
.plan ul { padding: 0; list-style: none; display: grid; gap: 9px; margin: 14px 0 24px; }
.plan li { padding-inline-start: 24px; position: relative; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }
.plan .btn { margin-top: auto; }

.compare { margin: 0; display: grid; gap: 12px; }
.compare div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
@media (max-width: 640px) { .compare div { grid-template-columns: 1fr; } }
.compare dt { font-weight: 700; }
.compare dd { margin: 0; color: var(--muted); }

.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.timeline li { padding: 16px 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; position: relative; font-size: 0.95rem; }
.timeline li::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 10px; }
.timeline.small { grid-template-columns: 1fr; gap: 8px; }
.timeline.small li { padding: 10px 12px; }
.timeline.small li::before { display: none; }
.sec-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 16px; }
.sec-list li { display: flex; gap: 12px; align-items: flex-start; }
.sec-list .ic { color: var(--accent-dark); margin-top: 3px; width: 20px; height: 20px; }

.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.final { position: relative; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,0.78); font-size: 1.1rem; }
.final .btn-primary { background: var(--accent-bright); color: var(--dark); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.95rem; background: #fff; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot-in strong { font-family: var(--display); font-size: 1.05rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot-links a { color: var(--muted); }

/* steps indicator (request/checkout) */
.stepper { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 10px; font-size: 0.85rem; color: var(--muted); }
.stepper span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.stepper span b { width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--ink); display: grid; place-items: center; font-size: 0.72rem; }
.stepper span.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-dark); }
.stepper span.on b { background: var(--accent); color: #fff; }

/* forms */
.form-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding: 24px 20px 72px; align-items: start; }
@media (max-width: 880px) { .form-wrap { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfd6de; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form .check-row { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.form .check-row input { width: 18px; height: 18px; margin-top: 3px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; }
.form .invalid { border-color: var(--err); }
.err { color: var(--err); background: var(--err-soft); padding: 10px 12px; border-radius: 10px; font-size: 0.95rem; }
.side .card { position: sticky; top: 86px; }
.side h3 { margin-bottom: 6px; }
.side .price { margin: 6px 0; }
.side .price b { font-family: var(--display); font-size: 1.7rem; }
.side ul { padding-inline-start: 1.2em; margin: 8px 0 0; font-size: 0.95rem; color: var(--muted); }
.side .screen { margin-top: 18px; transform: none; box-shadow: 0 20px 40px -26px rgba(0,0,0,0.5); }

/* checkout */
.checkout h1 { margin-bottom: 18px; }
.checkout .card { position: static; }
.checkout #co-summary ul { color: var(--ink); }
.processing { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-top: 12px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.errbox { margin-top: 14px; padding: 14px 16px; border: 1px solid #f0b4ad; background: var(--err-soft); border-radius: var(--radius); }
.errbox h4 { color: var(--err); margin-bottom: 6px; }
.errbox .ctas { margin: 10px 0 0; }
#pay { width: 100%; margin-top: 12px; }
.secure-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.secure-row span { display: inline-flex; gap: 6px; align-items: center; }
.secure-row .ic { width: 15px; height: 15px; }

/* hub + legal */
.hub main { padding-bottom: 72px; }
.hub .hero { padding: 64px 0 48px; }
.hub-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 40px; }
.hub-grid a { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; transition: transform 0.15s, box-shadow 0.15s; }
.hub-grid a:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(0,0,0,0.4); }
.hub-grid .screen { transform: none; box-shadow: none; border: 1px solid var(--line); }
.hub-grid strong { font-family: var(--display); font-size: 1.05rem; }
.hub-grid span { color: var(--muted); font-size: 0.93rem; }
.legal { padding-block: 40px 72px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* cookie banner */
.cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 30; margin-inline: auto; max-width: 720px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px -20px rgb(0 0 0 / 0.4); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 0.92rem; }
.cookie p { margin: 0; }
.cookie div { display: flex; gap: 8px; }
