/* Hebrew: Noto Sans Hebrew (SIL OFL), self-hosted so visitors download nothing themselves */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/source-sans-3-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Hebrew"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/noto-sans-hebrew-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Hebrew"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/noto-sans-hebrew-hebrew-600-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Hebrew"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/noto-sans-hebrew-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --white: #ffffff;
  --navy: #233960;      /* logo text colour */
  --ink: #142038;       /* body text, text on orange */
  --ink-2: #4a5671;
  --stone: #f2efeb;     /* palette: warm grey, used for panels */
  --line: #ddd8d1;
  --orange: #8f4bd2;    /* primary accent and buttons (Make-style purple; variable name kept) */
  --orange-deep: #7a3bb8;
  --coral: #f25050;     /* palette: alerts */
  --ok: #1d6b3e;
  --warn: #a14a08;
  --bad: #b02a2a;
  --ok-bg: #e3f1e8;
  --warn-bg: #fde8d8;
  --bad-bg: #fde4e4;
  --sans: "Source Sans 3", "Noto Sans Hebrew", "Segoe UI", "Trebuchet MS", Arial, "Arial Hebrew", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #f8f8f8; color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 8px; }

/* type */
h1, h2, h3 { font-family: var(--sans); color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.08; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 700; }
html[lang="en"] h1 { letter-spacing: -0.015em; }
html[lang="en"] h2 { letter-spacing: -0.01em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.fine { font-size: 0.9rem; color: var(--ink-2); max-width: 40em; }
.accounts-note { padding: 22px 24px; background: #f2efeb; border-radius: 12px; }
.price-grid > .controls { grid-column: 1; grid-row: 1; }
.price-grid > .savings { grid-column: 2; grid-row: 1 / span 2; }
.price-grid > .accounts-note { grid-column: 1; grid-row: 2; }
@media (min-width: 1001px) { #pricing .price-grid { row-gap: 24px; } .price-grid > .savings { align-self: stretch; grid-template-rows: auto 1fr auto; } .price-grid > .savings dl { display: flex; flex-direction: column; justify-content: space-between; } }
@media (max-width: 1000px) { .price-grid > .controls, .price-grid > .savings, .price-grid > .accounts-note { grid-column: auto; grid-row: auto; } }
.accounts-note h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.15rem; }
.accounts-note ul { display: grid; gap: 8px; padding-inline-start: 20px; list-style: disc; color: var(--ink-2); }
.accounts-note li::marker { color: var(--orange); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 2px solid #8f4bd2; border-radius: 8px; background: #8f4bd2; color: #ffffff; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: #7a3bb8; border-color: #7a3bb8; color: #ffffff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #f8f8f8; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 700 1.3rem var(--sans); white-space: nowrap; }
.brand img { height: 34px; width: auto; }
[dir="ltr"] .brand img { order: 2; } /* English: bolt sits after the word AI, same as the Hebrew site */
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--orange); }
.bar-end { display: flex; align-items: center; gap: 12px; }
.lang { min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; cursor: pointer; }
.lang:hover { border-color: var(--navy); }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px); background: #f8f8f8; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* demo */
.demo { background: var(--stone); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(23, 38, 68, .35); }
.demo-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.demo-label { font-weight: 700; margin-inline-end: 6px; }
.chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.via { font-size: 0.85rem; color: var(--ink-2); margin-bottom: 8px; }

.paper { min-height: 320px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px 16px 14px; font-size: 0.8rem; line-height: 1.45; overflow: hidden; box-shadow: 0 8px 20px -14px rgba(23, 38, 68, .5); font-variant-numeric: tabular-nums; }
.p-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.p-top b { font: 700 1rem var(--sans); }
.p-top span { color: var(--ink-2); }
.p-meta { display: flex; justify-content: space-between; margin-top: 8px; }
.p-bill { color: var(--ink-2); margin: 4px 0 10px; }
.paper table { width: 100%; border-collapse: collapse; }
.paper th { text-align: start; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); padding: 3px 0; }
.paper td { padding: 4px 0; border-bottom: 1px dotted var(--line); }
.paper th:nth-child(n+2), .paper td:nth-child(n+2) { text-align: end; }
.p-sum { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-top: 10px; margin-inline-start: 30%; }
.p-sum span:nth-child(even) { text-align: end; }
.p-total { font-weight: 700; border-top: 2px solid var(--ink); padding-top: 4px; margin-top: 4px; font-size: 0.95rem; }
[data-hl] { border-radius: 3px; transition: background .2s, box-shadow .2s; }
.hl { background: #fde6cf; box-shadow: 0 0 0 3px #fde6cf; }
.scan { position: absolute; inset-inline: 0; top: 0; height: 36px; background: linear-gradient(to bottom, transparent, rgba(143, 75, 210, .22)); border-bottom: 2px solid var(--orange); opacity: 0; pointer-events: none; }
.paper.scanning .scan { animation: scan 2s ease-in-out forwards; }
@keyframes scan { 0% { top: -36px; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.result-h { font: 700 1rem var(--sans); margin-bottom: 8px; }
.fields > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.fields dt { color: var(--ink-2); }
.fields dd { unicode-bidi: isolate; font-weight: 700; min-height: 1.5em; font-variant-numeric: tabular-nums; }
.fields dd.on { animation: pop .3s ease-out; }
/* slide only, no opacity fade: text caught mid-fade is semi-transparent and fails automatic contrast checks (Lighthouse) */
@keyframes pop { from { transform: translateY(3px); } to { transform: none; } }
.checks { margin-top: 12px; display: grid; gap: 8px; min-height: 176px; align-content: start; }
.checks li { position: relative; padding-inline-start: 28px; font-size: 0.92rem; line-height: 1.4; animation: pop .25s ease-out; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.checks li.run { color: var(--ink-2); }
.checks li.run::before { border-color: var(--orange); border-top-color: transparent; animation: spin .8s linear infinite; }
.checks li.ok::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l3 3 5-6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--ok); }
.checks li.warn::before { background: #f08022 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4.5v6M9 12.5v1' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--warn); }
.checks li.bad::before { background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 5.5l7 7M12.5 5.5l-7 7' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--coral); }
.checks li.warn { color: var(--warn); font-weight: 600; }
.checks li.bad { color: var(--bad); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.status[hidden] { display: inline-block !important; visibility: hidden; }
.status { min-height: 36px; margin-top: 12px; display: inline-block; padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 0.92rem; animation: pop .3s ease-out; }
.status.ok { background: var(--ok-bg); color: var(--ok); }
.status.warn { background: var(--warn-bg); color: var(--warn); }
.status.bad { background: var(--bad-bg); color: var(--bad); }

/* sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.tint { background: #f8f8f8; border-block: 1px solid var(--line); }
.section-h { margin-bottom: 40px; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-head { display: grid; gap: 14px; position: sticky; top: 96px; }
.split-head p { color: var(--ink-2); max-width: 26em; }

.ledger li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 16px; padding-block: 22px; border-top: 1px solid var(--navy); }
.ledger li:last-child { border-bottom: 1px solid var(--ink); }
.num { font: 900 2.6rem/1 var(--sans); color: var(--navy); font-variant-numeric: lining-nums; }
.ledger h3 { margin-bottom: 4px; }
.ledger p { color: var(--ink-2); max-width: 36em; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feat-grid > div { padding-block: 24px 28px; border-top: 1px solid var(--ink); }
.feat-grid h3 { margin-bottom: 6px; }
.feat-grid p { color: var(--ink-2); }

.roles { margin-top: 56px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.roles-body { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.tablist { display: grid; gap: 6px; }
.tablist button { text-align: start; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; }
.tablist button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
[role="tabpanel"] ul { display: grid; gap: 8px; }
[role="tabpanel"] li { padding-inline-start: 22px; position: relative; }
[role="tabpanel"] li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 10px; height: 2px; background: var(--navy); }

/* pricing */
.price-head { display: grid; gap: 12px; max-width: 40em; margin-bottom: 40px; }
.price-head p { color: var(--ink-2); }
.price-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.controls { display: grid; gap: 22px; justify-items: start; }
.range { display: grid; gap: 6px; width: 100%; }
.range-top { display: flex; justify-content: space-between; font-weight: 600; }
.range-top output { font: 700 1.3rem var(--sans); font-variant-numeric: tabular-nums; }
input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--navy) var(--p), var(--line) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--navy) var(--p), var(--line) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--navy), 0 2px 4px rgba(20,32,56,.25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--navy), 0 2px 4px rgba(20,32,56,.25); }
html[dir="rtl"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--navy) var(--p), var(--line) var(--p)); }
html[dir="rtl"] input[type="range"]::-moz-range-track { background: linear-gradient(to left, var(--navy) var(--p), var(--line) var(--p)); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.plan { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 22px 22px 20px; display: grid; gap: 6px; align-content: start; transition: background .2s, color .2s; }
.plan .price b { font: 900 2.4rem var(--sans); }
.plan .price span, .plan .cap { color: var(--ink-2); font-size: 0.95rem; }
.plan .total { margin-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan .fit { display: none; font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.plan.fit-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan.fit-on h3 { color: #fff; }
.plan.fit-on .price span, .plan.fit-on .cap { color: #c9d2e4; }
.plan.fit-on .fit { display: block; }
.plan.off { opacity: .6; }

.savings { background: var(--stone); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 16px; }
.savings dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.savings dt { color: var(--ink-2); }
.savings dd { font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.savings .net { border-bottom: 0; padding-top: 14px; font-size: 1.1rem; }
.savings .net dt { color: var(--ink); font-weight: 700; }
.savings .net dd { color: var(--ok); font: 900 1.5rem/1.2 var(--sans); }
.savings .net dd.neg { color: var(--bad); font-size: 1.05rem; }

/* faq */
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font: 700 1.15rem var(--sans); list-style: none; position: relative; }
html[dir="rtl"] .faq summary { padding: 18px 0 18px 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 12px; font: 400 1.6rem var(--sans); color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 38em; }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form .full { grid-column: 1 / -1; }
.form input, .form select { min-height: 48px; padding: 0 12px; background: #fff; border: 1px solid #8e99b0; border-radius: 8px; font-weight: 400; }
.form input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-bg); }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.msg { font-weight: 600; max-width: 30em; }
.msg.err { color: var(--bad); }

.site-footer { padding-block: 32px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.92rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .split, .price-grid, .roles { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .bar-end { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .demo-stage, .plans, .form, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .roles-body { grid-template-columns: minmax(0, 1fr); }
  .tablist { grid-template-columns: repeat(3, auto); }
  .brand span { font-size: 1rem; }
  .btn-sm { padding: 0 12px; font-size: 0.9rem; }
  .fields > div { grid-template-columns: 6.5em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html[dir="rtl"] .fields dd { text-align: right; }
@media (max-width: 480px) { .brand { font-size: 1.1rem; gap: 8px; } .brand img { width: 30px; height: auto; } }

/* White text on filled buttons: soft drop shadow, as on the business card */

/* planned-later list */
.soon { margin-top: 56px; display: grid; gap: 18px; }
.soon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.soon-list li { display: grid; gap: 2px; padding-inline-start: 16px; border-inline-start: 3px solid var(--orange); }
.soon-list b { color: var(--navy); font-size: 1.05rem; }
.soon-list span { color: var(--ink-2); }
@media (max-width: 640px) { .soon-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- multi-page additions ---- */
.page-h { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
html[lang="en"] .page-h { letter-spacing: -0.01em; }
.h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 700; color: var(--navy); }
.lang { display: inline-flex; align-items: center; text-decoration: none; }
.nav a[aria-current="page"] { border-color: var(--orange); }
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.teaser { display: grid; gap: 12px; align-content: start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.teaser p { color: var(--ink-2); }
.more { font-weight: 700; color: var(--navy); text-underline-offset: 4px; }
.cta-band { background: #f8f8f8; border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-in p { color: var(--ink-2); margin-top: 8px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .bar { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
  .nav { display: flex; order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; white-space: nowrap; }
  .teasers { grid-template-columns: minmax(0, 1fr); }
}

.msg.ok { color: var(--ok); }

/* app screens */
.shots { display: grid; gap: clamp(40px, 6vw, 72px); }
.shot-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.shot-row p { color: var(--ink-2); margin-top: 8px; max-width: 26em; }
figure { margin: 0; }
figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 24px 48px -28px rgba(23, 38, 68, .35); }
.shot-home { display: grid; gap: 24px; justify-items: start; }
.shot-home figure { width: 100%; max-width: 980px; }
@media (min-width: 1001px) and (max-width: 1240px) { .paper { min-height: 360px; } }
@media (max-width: 1000px) { .shot-row { grid-template-columns: minmax(0, 1fr); } }

/* form: required marks, inline errors, confirmation */
.req { color: #d62828; font-weight: 700; margin-inline-start: 3px; }
.legend { color: var(--ink-2); font-size: 0.9rem; }
.lbl { display: inline-flex; }
.form textarea { padding: 10px 12px; min-height: 120px; background: #fff; border: 1px solid #8e99b0; border-radius: 8px; font-weight: 400; resize: vertical; }
.form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-bg); }
.err-text { color: var(--bad); font-weight: 600; font-size: 0.86rem; min-height: 0; }
.err-text:empty { display: none; }
.done { background: var(--ok-bg); border: 1px solid var(--ok); border-radius: 12px; padding: 28px; display: grid; gap: 8px; }
/* the demo box also gets .done when the animation finishes: keep its green look but not the extra padding/gap (it made the page jump) */
.demo.done { display: block; padding: 18px; border-radius: 14px; }
.done h3 { color: var(--ok); }
.done p { color: var(--ink); font-weight: 600; }

/* plan cards, full width */
.price-grid { margin-bottom: 32px; }
.plans { max-width: 860px; margin: 0; align-items: stretch; }
.plan { padding: 28px 26px 26px; gap: 10px; }
.plan h3 { font-size: 1.5rem; }
.plan .desc { color: var(--ink-2); min-height: 2.8em; }
.plan .price { margin-top: 6px; }
.plan .plan-btn { margin-top: 10px; justify-self: stretch; text-align: center; }
.plan hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 14px 0 4px; }
.plan.fit-on hr { border-top-color: rgba(255,255,255,.25); }
.plan .inc { font-weight: 700; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e3f1e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231f7a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan.fit-on .plan-btn { background: var(--orange); }
.plan .fit { display: block; visibility: hidden; }
.plan.fit-on .fit { visibility: visible; }
.plan.fit-on .desc { color: #c9d2e4; }

/* legal pages */
.legal-wrap { max-width: 780px; }
.legal h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin-bottom: 6px; }
.legal .upd { color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; }
.legal h3 { font-size: 1.2rem; margin: 30px 0 8px; }
.legal h4 { font-size: 1rem; margin: 16px 0 4px; }
.legal p, .legal li { line-height: 1.7; }
.legal p { margin: 8px 0; }
.legal ul { margin: 6px 0 8px; padding-inline-start: 22px; display: grid; gap: 4px; }
.legal a { color: var(--navy); text-underline-offset: 3px; }
.legal ul { list-style: disc; }

/* Header (desktop): the menu starts at the reading edge, the logo sits at the opposite end.
   English: menu on the left, logo on the right. Hebrew: menu on the right, logo on the left. */
@media (min-width: 1001px) {
  .nav { order: 1; margin-inline-start: 0; }
  .bar-end { order: 2; margin-inline-start: 20px; }
  .brand { order: 3; margin-inline-start: auto; }
}
/* Hebrew pricing: sliders on the left, savings box on the right */
html[dir="rtl"] .price-grid { direction: ltr; }
html[dir="rtl"] .price-grid > * { direction: rtl; }
/* Footer: links start at the reading edge, copyright at the opposite end.
   English: links left, copyright right. Hebrew: links right, copyright left. */
.foot > p { order: 2; }
.foot > .foot-nav { order: 1; }

/* phones: keep savings figures on one line */
.savings dd { white-space: nowrap; }
.savings dt { min-width: 0; }

/* hamburger menu */
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.burger { position: relative; }
.burger::before { position: absolute; top: -6px; }
.burger::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { display: contents; }
@media (max-width: 1000px) {
  .bar { flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding-block: 0; min-height: 64px; }
  .menu-btn { display: inline-flex; order: 1; }
  .brand { order: 2; margin: 0; }
  .menu-panel { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20, 32, 56, .12); }
  .menu-panel.open { display: flex; }
  .nav { display: flex; flex-direction: column; order: 0; width: 100%; margin: 0; gap: 0; overflow: visible; white-space: normal; }
  .nav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
  .bar-end { order: 0; margin: 0; display: flex; gap: 12px; }
  .bar-end .btn { display: inline-flex; flex: 1; }
  .bar-end .lang { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
}

/* Screenshot lightbox: the thumbnail is a button that opens the full-size image */
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; font: inherit; }
.zoom img { transition: box-shadow .2s ease, transform .2s ease; }
.zoom:hover img { box-shadow: 0 28px 52px -26px rgba(23, 38, 68, .5); transform: translateY(-2px); }
.zoom-hint { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(35, 57, 96, .88) center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E"); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: calc(100vw - 170px); max-height: 96vh; width: fit-content; overflow: visible; direction: ltr; }
.lightbox::backdrop { background: rgba(20, 32, 56, .82); }
.lightbox img { display: block; max-width: calc(100vw - 170px); max-height: calc(100vh - 170px); width: auto; height: auto; margin: auto; border-radius: 8px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); cursor: zoom-out; }
.lb-close { position: absolute; top: -58px; right: -58px; left: auto; z-index: 1; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; background: var(--navy); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: var(--orange-deep); }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lb-close { top: 8px; right: 8px; } .lightbox, .lightbox img { max-width: 96vw; max-height: 90vh; } }
@media (prefers-reduced-motion: reduce) { .zoom img { transition: none; } .zoom:hover img { transform: none; } }


/* ---- plans update 2026-11-08: three flat plans, VAT note, plans table ---- */
.plans { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.plan .price .star { font: 700 1.5rem var(--sans); color: var(--navy); vertical-align: top; margin-inline-start: 2px; }
.plan .cap { min-height: 3.2em; }
.vat-note { margin-top: 18px; font-weight: 700; color: var(--navy); }
.tag-soon { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--stone); border: 1px solid var(--line); color: var(--navy); font-size: 0.8rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.ticks li .tag-soon { margin-inline-start: 6px; }
.plan.fit-on .tag-soon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: #fff; }
.feat-link { margin-top: 28px; }
.pt-h { margin: 36px 0 12px; font-size: 1.3rem; }
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.ptable thead th { background: var(--navy); color: #fff; font-weight: 700; text-align: center; vertical-align: middle; }
.ptable thead th:first-child { text-align: start; }
.ptable .ph { display: block; font-weight: 400; font-size: 0.95rem; color: #c9d2e4; }
.ptable td { text-align: center; width: 19%; }
.ptable tbody tr:last-child th, .ptable tbody:last-of-type tr:last-child td { border-bottom: 0; }
.ptable tr.sec th { background: var(--stone); color: var(--navy); font-size: 1rem; }
.ptable th[scope="row"] { font-weight: 600; }
.ptable .sub { display: block; margin-top: 2px; font-weight: 400; font-size: 0.88rem; color: var(--ink-2); }
.ptable .yes { color: var(--ok); font-weight: 700; font-size: 1.15rem; }
.ptable .no { color: var(--ink-2); }
.pt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
@media (max-width: 1000px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 640px) {
  .ptable th, .ptable td { padding: 10px 8px; font-size: 0.95rem; }
  .ptable td { width: 21%; }
  .tag-soon { white-space: normal; font-size: 0.72rem; padding: 2px 6px; }
}
/* plan cards: keep the three cards' rows aligned (description two lines, reserved line for "included in the price") */
.plan .desc { min-height: 3.3em; }
.plan .total { min-height: 1.7em; }

/* link to the full feature list at the bottom of every plan card */
.plan { display: flex; flex-direction: column; align-items: stretch; }
.plan .plan-more { margin-top: auto; padding-top: 18px; }
.plan.fit-on .plan-more { color: #fff; }
