/* Postrack landing pages: shared styles for / and /real-estate.
   Layout: one centered column (max 1160px), sections stacked, mobile first. RTL. */
:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --ink: #0f1d19;
  --muted: #5a6a65;
  --line: #dfe7e3;
  --accent: #0c7458;
  --accent-ink: #ffffff;
  --accent-soft: #e2f1ea;
  --accent-line: #b9dccd;
  --warn: #a86400;
  --warn-soft: #fbefdc;
  --shadow: 0 1px 2px rgba(15, 29, 25, .06), 0 12px 32px -12px rgba(15, 29, 25, .18);
  --f-display: "Rubik", "IBM Plex Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --f-body: "IBM Plex Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1210; --surface: #121b18; --ink: #e6eeeb; --muted: #95a8a1; --line: #22302b;
    --accent: #39c393; --accent-ink: #062018; --accent-soft: #143127; --accent-line: #24533f;
    --warn: #f0b45a; --warn-soft: #33260f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1210; --surface: #121b18; --ink: #e6eeeb; --muted: #95a8a1; --line: #22302b;
  --accent: #39c393; --accent-ink: #062018; --accent-soft: #143127; --accent-line: #24533f;
  --warn: #f0b45a; --warn-soft: #33260f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.demo-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600;
  color: var(--warn); background: var(--warn-soft); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 1.2rem/1 var(--f-display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.site-nav { display: none; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .site-nav { display: flex; } }

/* sections */
section { padding-block: 64px; }
@media (min-width: 900px) { section { padding-block: 96px; } }
.sec-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 36px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* hero */
.hero { padding-block: 40px 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 20px; }
.hero-copy .lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta b { color: var(--ink); font-weight: 600; }
.check { width: 16px; height: 16px; color: var(--accent); flex: none; }
@media (min-width: 960px) {
  .hero { padding-block: 72px 96px; }
  .hero .wrap { grid-template-columns: 1fr 1.15fr; gap: 56px; }
}

/* browser frame around a real screenshot */
.frame-stage { perspective: 1600px; min-width: 0; }
.browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  transform-origin: 30% 50%;
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .browser { transform: rotateY(-9deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .frame-stage:hover .browser { transform: none; }
}
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); direction: ltr; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.addr { flex: 1; min-width: 0; text-align: center; font-size: .78rem; color: var(--muted); background: var(--bg); border-radius: 7px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: rtl; }
.browser figure { margin: 0; position: relative; }
.browser figure .demo-tag { position: absolute; top: 12px; left: 12px; box-shadow: var(--shadow); }
.shot { width: 100%; background: var(--bg); }

/* before / after */
.ba { display: grid; gap: 16px; }
@media (min-width: 800px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.ba-card.after { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.ba-card h3 { display: flex; align-items: center; gap: 10px; }
.ba-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ba-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.ba-card li svg { width: 18px; height: 18px; margin-top: 4px; }
.ba-card.before li svg { color: var(--muted); }
.ba-card.after li svg { color: var(--accent); }

/* pillars */
.pillars { display: grid; gap: 14px; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pillar .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar p { color: var(--muted); font-size: .97rem; }
.ext {
  margin-top: 14px; display: grid; gap: 16px; align-items: center;
  border: 1px dashed var(--accent-line); border-radius: var(--radius); padding: 22px; background: var(--surface);
}
.ext p { color: var(--muted); }
@media (min-width: 800px) { .ext { grid-template-columns: auto 1fr auto; } }
.ext .plug { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.ext .plug svg { width: 24px; height: 24px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1rem/1 var(--f-display); color: var(--accent); background: var(--accent-soft);
}
.steps p { color: var(--muted); font-size: .97rem; }

/* split sections: copy + illustrative UI */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.split .copy { display: grid; gap: 18px; min-width: 0; }
.split .copy .sec-head { margin-bottom: 0; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.points li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.points b { font-weight: 600; }

/* illustrative UI panels (HTML, demo data) */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.panel-head b { font-family: var(--f-display); font-weight: 600; }
.rows { display: grid; gap: 4px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .name { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.row .num { font-variant-numeric: tabular-nums; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.row .num svg { width: 16px; height: 16px; color: var(--accent); }
.row .meter { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.row .meter i { display: block; height: 100%; border-radius: inherit; background: var(--accent); width: var(--w); transform-origin: right; }
.row .sub { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin-top: -4px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--bg); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.kpi b { font: 600 1.35rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.kpi span { font-size: .78rem; color: var(--muted); }

.alert {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--warn-soft); color: var(--ink); font-size: .94rem;
}
.alert svg { width: 20px; height: 20px; color: var(--warn); margin-top: 2px; }
.alert .act { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .86rem; font-weight: 500; color: var(--ink); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.timeline { display: grid; gap: 6px; }
.tl-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; font-size: .84rem; }
.tl-row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-track { position: relative; height: 26px; background: var(--bg); border-radius: 8px; }
.tl-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: .74rem; padding-inline: 8px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.tl-bar.clash { background: var(--warn-soft); border-color: var(--warn); }
.warm { display: grid; gap: 8px; }
.warm-bar { height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.warm-bar i { display: block; height: 100%; width: 19%; background: var(--accent); border-radius: inherit; }
.warm-legend { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }

/* price */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 700 3rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }

/* industries */
.inds { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .inds { grid-template-columns: repeat(3, 1fr); } }
.ind { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.ind p { font-size: .92rem; color: var(--muted); }

/* trust */
.trust { display: grid; gap: 14px; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--accent); }
.trust p { color: var(--muted); font-size: .95rem; }

/* pilot result */
.result { display: grid; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
@media (min-width: 800px) { .result { grid-template-columns: auto 1fr; gap: 36px; } }
.result .big { font: 700 clamp(3rem, 10vw, 4.5rem)/1 var(--f-display); color: var(--accent); font-variant-numeric: tabular-nums; direction: ltr; }
.result p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-display); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* forms */
.form-wrap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
form.lead { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow); min-width: 0; }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--f-body);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field input[dir="ltr"] { text-align: right; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.err { color: #c0392b; }
.thanks { display: grid; gap: 8px; text-align: center; padding: 18px 6px; }
.thanks svg { width: 44px; height: 44px; color: var(--accent); margin-inline: auto; }

.final { background: var(--ink); color: var(--bg); }
.final .muted, .final .sec-head p { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }
.final .eyebrow { color: color-mix(in srgb, var(--accent) 70%, var(--bg)); }
.final form.lead { color: var(--ink); }

footer.site-footer { padding-block: 32px 48px; color: var(--muted); font-size: .88rem; }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer.site-footer a { color: var(--muted); }

/* mobile: sticky CTA at the bottom */
.mobile-cta {
  position: fixed; inset: auto 0 0; z-index: 25; display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.on { transform: none; }
.mobile-cta span { font-size: .88rem; color: var(--muted); }
.mobile-cta span b { color: var(--ink); }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* subtle entrance: content is visible at rest; browsers with scroll timelines lift it in as it enters */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .frame-stage { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .frame-stage { animation-delay: .15s; }
  @supports (animation-timeline: view()) {
    .pillar, .steps li, .ba-card, .panel, .ind, .trust > div {
      animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    .row .meter i { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@keyframes rise { from { transform: translateY(14px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes lift { from { transform: translateY(18px); opacity: .75; } to { transform: none; opacity: 1; } }
@keyframes grow { from { transform: scaleX(.15); } to { transform: none; } }
