/*
Theme Name: Liel Amar — Investments for Employees
Theme URI: https://liel-amar.local/
Author: Webivize
Author URI: https://webivize.com/
Description: Custom Hebrew/RTL landing-page theme for ליאל עמר — השקעות לשכירים. One-page coaching brand site with editable sections and a CF7 lead form. No build step.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liel-amar-theme
Tags: one-page, custom-colors, custom-menu, rtl-language-support, full-site-editing, hebrew
*/

/* ============================================
   Liel Amar — Landing Page
   Warm & human coaching brand, Hebrew / RTL
============================================ */

:root {
  --bg: #FAF7F2;          /* warm off-white */
  --bg-2: #F3EEE4;        /* slightly deeper warm neutral */
  --bg-3: #E9E2D4;        /* card surface */
  --ink: #141512;         /* near-black, warm */
  --ink-2: #3A3A36;       /* secondary text */
  --ink-3: #6B6A63;       /* tertiary text */
  --line: #E0D9CA;        /* hairline */
  --muted: #6B6A63;       /* alias of ink-3 for legacy references */

  /* Green system */
  --green: #1F9D4E;       /* logo green, primary accent */
  --green-deep: #0F5E30;  /* forest, for headings/depth */
  --green-soft: #E5F1E9;  /* pale mint wash */
  --green-ink: #0A3D1E;   /* ultra-deep for contrast on pale */

  --radius: 14px;
  --radius-lg: 24px;
  --radius-sm: 8px;

  --max: 1200px;
  --max-narrow: 880px;

  --shadow-sm: 0 1px 2px rgba(20,21,18,0.04), 0 1px 3px rgba(20,21,18,0.03);
  --shadow-md: 0 4px 12px rgba(20,21,18,0.06), 0 2px 4px rgba(20,21,18,0.04);
  --shadow-lg: 0 24px 48px -12px rgba(20,21,18,0.12), 0 8px 16px -8px rgba(20,21,18,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }

/* Force form controls to inherit Heebo. Browsers don't do this by default. */
input,
textarea,
select,
optgroup,
button {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 5.4vw, 68px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 28px; }
section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}
.eyebrow.eyebrow-on-dark {
  background: rgba(31,157,78,0.15);
  color: #7BC896;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(15,94,48,0.35);
}
.btn-primary:hover {
  background: #0B4D27;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(15,94,48,0.45);
}
.btn-primary .arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.btn-primary:hover .arrow { transform: translateX(-4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,21,18,0.03); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text { line-height: 1; }
.nav-logo-text .sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 3px;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--green-deep); }
@media (max-width: 780px) {
  .nav-links { display: none; }
}

/* Hero */
.hero {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  max-width: 16ch;
}
.hero h1 .accent { white-space: normal; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  margin-top: 24px;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--green-deep);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.18em;
  background: var(--green);
  opacity: 0.22;
  border-radius: 999px;
  z-index: -1;
}
.hero .lead { max-width: 56ch; }
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Hero portfolio proof */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-inline-start: auto;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-proof {
  direction: rtl;
}
.proof-orbit {
  position: absolute;
  inset: 8% 0 3%;
  border-radius: 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 72% 18%, rgba(31,157,78,0.18) 0 18%, transparent 42%),
    linear-gradient(155deg, #E5F1E9 0%, #F3EEE4 68%, #FAF7F2 100%);
  box-shadow: inset 0 0 0 1px rgba(15,94,48,0.05);
  z-index: -2;
}
.proof-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(15,94,48,0.18);
  border-radius: inherit;
  transform: rotate(-9deg);
}
.proof-badge {
  position: absolute;
  top: 28px;
  inset-inline-start: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  z-index: 6;
  white-space: nowrap;
}
.proof-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31,157,78,0.13);
}
.proof-stage {
  position: relative;
  width: 100%;
  height: 545px;
}
.proof-phone {
  --phone-tilt: 0deg;
  --phone-float: 9px;
  --phone-float-tilt: 0deg;
  position: absolute;
  margin: 0;
  filter: drop-shadow(0 30px 34px rgba(20,21,18,0.18));
  transform: rotate(var(--phone-tilt));
  transform-origin: center bottom;
  animation: phoneFloat 6.8s ease-in-out infinite;
  transition: filter 0.2s ease;
  will-change: transform;
}
.proof-phone-before {
  --phone-tilt: 5deg;
  --phone-float: 7px;
  --phone-float-tilt: -0.7deg;
  width: 35%;
  top: 168px;
  right: 72px;
  z-index: 3;
  animation-delay: -2.4s;
}
.proof-phone-after {
  --phone-tilt: -3deg;
  --phone-float: 10px;
  --phone-float-tilt: 0.6deg;
  width: 52%;
  top: 58px;
  left: 38px;
  z-index: 4;
}
.proof-phone-shell {
  position: relative;
  aspect-ratio: 9 / 19.5;
  padding: 8px;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.02) 30%, rgba(0,0,0,0.2) 100%),
    #11130F;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.22),
    inset 0 0 0 2px rgba(0,0,0,0.72),
    0 1px 0 rgba(255,255,255,0.16);
  overflow: visible;
}
.proof-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #0B0D13;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.68);
}
.proof-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #10131B;
}
.proof-island {
  position: absolute;
  top: 3.3%;
  left: 50%;
  width: 27%;
  height: 4.2%;
  min-height: 10px;
  max-height: 20px;
  border-radius: 999px;
  background: #050605;
  transform: translateX(-50%);
  z-index: 7;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    inset 10px 0 16px rgba(255,255,255,0.035);
}
.proof-home {
  position: absolute;
  left: 50%;
  bottom: 3.4%;
  width: 31%;
  height: 0.9%;
  min-height: 3px;
  max-height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  transform: translateX(-50%);
  z-index: 7;
}
.proof-phone-before .proof-island {
  width: 25%;
  height: 3.8%;
}
.proof-phone-before .proof-home {
  width: 29%;
}
.proof-phone-before img {
  object-position: center top;
}
.proof-phone-after img {
  height: 112%;
  object-fit: cover;
  object-position: center top;
}
.proof-tag {
  position: absolute;
  top: -14px;
  inset-inline-start: 20px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 18px -12px rgba(20,21,18,0.28);
  white-space: nowrap;
}
.proof-tag-current {
  color: #fff;
  background: var(--green-deep);
}
.proof-phone-before .proof-tag {
  inset-inline-start: -10px;
}
.proof-note {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: min(86%, 410px);
  margin-top: -4px;
  padding: 15px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(224,217,202,0.9);
  box-shadow: var(--shadow-md);
}
.proof-note strong {
  color: var(--green-deep);
  font-size: 16px;
  line-height: 1.25;
}
.proof-note span {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}
.proof-disclaimer {
  width: min(88%, 430px);
  margin: 10px auto 0;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
  position: relative;
  z-index: 5;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes phoneFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(var(--phone-tilt));
  }
  50% {
    transform: translate3d(0, calc(var(--phone-float) * -1), 0) rotate(calc(var(--phone-tilt) + var(--phone-float-tilt)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .proof-phone {
    animation: none;
  }
}
@keyframes heroFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

@media (max-width: 900px) {
  .hero-art {
    max-width: 440px;
    margin: 0 auto;
  }
  .proof-stage {
    height: 500px;
  }
  .proof-phone-after {
    left: 34px;
    width: 53%;
  }
  .proof-phone-before {
    right: 64px;
    width: 36%;
  }
}
@media (max-width: 560px) {
  .wrap,
  .wrap-narrow {
    padding-inline: 20px;
  }
  .nav-inner {
    padding-inline: 20px;
    gap: 12px;
  }
  .nav-logo-text .sub {
    display: none;
  }
  .nav-cta {
    padding: 9px 16px;
  }
  .hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero h1 .accent {
    white-space: normal;
  }
  .hero .lead {
    max-width: 100%;
  }
  .hero-cta {
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    min-height: 58px;
    white-space: normal;
    text-align: center;
  }
  .hero-art {
    max-width: 360px;
  }
  .proof-stage {
    height: 450px;
  }
  .proof-badge {
    top: 16px;
    inset-inline-start: 10px;
    font-size: 12px;
  }
  .proof-phone-after {
    top: 50px;
    left: 18px;
    width: 56%;
  }
  .proof-phone-before {
    top: 138px;
    right: 56px;
    width: 37%;
  }
  .proof-phone-shell {
    padding: 6px;
    border-radius: 30px;
  }
  .proof-screen {
    border-radius: 24px;
  }
  .proof-island {
    max-height: 15px;
    min-height: 8px;
  }
  .proof-note {
    width: 92%;
    margin-top: 4px;
    padding: 13px 15px;
  }
  .proof-note strong {
    font-size: 14px;
  }
  .proof-note span {
    font-size: 12px;
  }
  .proof-disclaimer {
    width: 94%;
    font-size: 10px;
  }
}

/* Problem / Agitate */
.problem-block {
  max-width: 880px;
  margin: 0 auto;
}
.problem-block p + p { margin-top: 22px; }
.pullquote {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 48px 0 32px;
}
.pullquote .mute { color: var(--ink-3); font-weight: 500; }

/* Agitate */
.agitate {
  background: var(--ink);
  color: var(--bg);
}
.agitate h2 { color: #fff; }
.agitate .lead { color: rgba(250, 247, 242, 0.75); }
.agitate .pullquote { color: #fff; }
.agitate .pullquote .mute { color: rgba(250,247,242,0.5); }
.agitate-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 44px 0;
  border-top: 1px solid rgba(250,247,242,0.12);
  border-bottom: 1px solid rgba(250,247,242,0.12);
  margin: 48px 0;
}
@media (max-width: 640px) {
  .agitate-stat { grid-template-columns: 1fr; gap: 16px; text-align: start; }
}
.agitate-stat .num {
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--green);
  text-align: center;
  min-width: 1.6em;
}
.agitate-stat .label {
  font-size: 17px;
  color: rgba(250,247,242,0.75);
  line-height: 1.55;
  max-width: 48ch;
}
.agitate-stat .label strong { color: #fff; }

/* Solution */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .solution-grid { grid-template-columns: 1fr; gap: 40px; }
}
.solution-copy p + p { margin-top: 18px; }
.solution-copy p.body-2 { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.solution-copy p.body-3 { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.solution-copy p.body-3 strong { font-weight: 700; }
.solution-copy p.kicker { margin-top: 20px; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.solution-visual {
  background: linear-gradient(155deg, #E5F1E9 0%, #F3EEE4 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: auto;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.solution-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(31,157,78,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(15,94,48,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.plan-doc {
  position: relative;
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow:
    0 1px 2px rgba(20,21,18,0.06),
    0 20px 40px -12px rgba(20,21,18,0.14),
    0 8px 16px -8px rgba(20,21,18,0.08);
  z-index: 2;
}
.plan-doc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 12px;
  z-index: -1;
  transform: rotate(3deg) translate(8px, 10px);
  box-shadow: 0 10px 24px -10px rgba(20,21,18,0.12);
  opacity: 0.7;
}
.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.plan-head .label {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.plan-head .for { font-size: 16px; font-weight: 700; color: var(--ink); }
.plan-head .stamp {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px dashed var(--green);
  color: var(--green-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-8deg);
  flex-shrink: 0;
  padding: 4px;
}
.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(224,217,202,0.6);
}
.plan-row:last-child { border-bottom: 0; }
.plan-row .k { color: var(--ink-3); font-weight: 500; }
.plan-row .v { color: var(--ink); font-weight: 700; font-family: 'Heebo', sans-serif; }
.plan-row .v.green { color: var(--green-deep); }
.plan-notes {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
  position: relative;
}
.plan-notes .scribble {
  position: absolute;
  top: 14px; inset-inline-start: -6px;
  color: var(--green);
  font-family: 'Caveat', cursive;
}
.plan-sig {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan-sig .sig-label {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-sig .sig-name {
  font-family: 'Heebo', sans-serif;
  font-size: 18px;
  color: var(--green-deep);
  font-weight: 700;
}

/* Flow layout: situation → goals → plan */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
}
.flow-stage {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.flow-node {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
  position: relative;
  z-index: 3;
}
.flow-node.active {
  background: var(--green-ink);
  border-color: var(--green-ink);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(15,94,48,0.45);
}
.flow-num {
  letter-spacing: 0.02em;
}
.flow-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px -6px rgba(20,21,18,0.06);
}
.fc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.fc-rows > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.fc-rows > div:last-child { border-bottom: none; }
.fc-rows span { color: var(--muted); }
.fc-rows b { color: var(--ink); font-weight: 700; }
.fc-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fc-goals .goal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green-deep);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.fc-goals .goal-icon {
  display: inline-flex;
  color: var(--green);
}

/* Vertical dashed connector between stages — aligned with node (20px from start) */
.flow-connector {
  width: 2px;
  height: 32px;
  background-image: linear-gradient(to bottom, var(--line) 50%, transparent 50%);
  background-size: 2px 8px;
  background-repeat: repeat-y;
  margin-right: 19px;
  margin-left: auto;
  align-self: flex-start;
}

.flow-stage.final .plan-doc {
  flex: 1;
  margin: 0;
}

.plan-row-highlight {
  background: var(--green-soft);
  margin: 8px -18px -2px;
  padding: 10px 18px !important;
  border-radius: 10px;
  border-bottom: none !important;
}

.flow-fineprint {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
  max-width: 320px;
  line-height: 1.5;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--green);
}
.step h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.step p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Who it's for */
.who {
  background: var(--bg-2);
}
.who-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
}
.who-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
}
.who-card.not {
  background: transparent;
  border-style: dashed;
}
.who-card h3 {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.who-card h3 .h3-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.who-card.not h3 .h3-mark {
  background: var(--bg-3);
  color: var(--ink-3);
}
.who-card.not h3 { color: var(--ink-3); }
.who-list { list-style: none; padding: 0; margin: 0; }
.who-list li {
  padding: 14px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}
.who-list li:first-child { border-top: 0; }
.who-list .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.who-list.not li { color: var(--ink-3); }
.who-list.not .icon { background: var(--bg-3); color: var(--ink-3); }

/* Results before/after */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 780px) {
  .results-grid { grid-template-columns: 1fr; }
}
.results-col {
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
}
.results-col.before {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.results-col.after {
  background: var(--green-ink);
  color: #fff;
}
.results-col h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.results-col.after h3 { color: rgba(255,255,255,0.55); }
.results-col .big {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.15;
}
.results-col.before .big { color: var(--ink-2); }
.results-col.after .big { color: #fff; }
.results-list { list-style: none; padding: 0; margin: 0; }
.results-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.results-col.after .results-list li {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.results-list li:first-child { border-top: 0; }
.results-list .mark {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}
.results-list .mark svg {
  width: 12px;
  height: 12px;
}
.results-col.before .mark { background: var(--bg-3); color: var(--ink-3); }
.results-col.after .mark { background: var(--green); color: #fff; }

/* Social proof */
.proof {
  background: var(--bg-2);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
}
.proof-grid .lead {
  max-width: 42ch;
  width: min(436px, 100%);
}
.proof-grid .proof-fineprint {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
}
.portfolio-compare {
  display: flex;
  justify-content: center;
  gap: 28px;
  position: relative;
}
.phone {
  width: 240px;
  aspect-ratio: 9 / 19;
  border-radius: 32px;
  background: #0E0F0C;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(20,21,18,0.28), 0 10px 20px -10px rgba(20,21,18,0.18);
  position: relative;
  transition: transform 0.4s ease;
}
.phone.before { transform: rotate(-4deg); }
.phone.after { transform: rotate(4deg); margin-top: 32px; }
.phone:hover { transform: rotate(0) translateY(-6px); }
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 20px 20px;
  direction: rtl;
  font-family: 'Heebo', sans-serif;
}
.phone .notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #0E0F0C;
  border-radius: 999px;
  z-index: 5;
}
.phone-label {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.phone.after .phone-label { color: var(--green-deep); }

/* Phone screen content (Before / After) */
.ps-eyebrow { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.5px; }
.ps-amount { font-size: 26px; font-weight: 800; margin-top: 4px; color: var(--ink); letter-spacing: -0.02em; }
.ps-amount-sub { font-size: 10px; margin-top: 3px; font-weight: 500; color: #B85959; }
.ps-amount-sub.up { font-size: 11px; color: #0F5E30; font-weight: 700; }
.ps-amount-sub.up .muted { color: var(--ink-3); font-weight: 500; }
.ps-card { margin-top: 22px; background: #F3EEE4; border-radius: 10px; padding: 12px; }
.ps-card-title { font-size: 10px; color: var(--ink-3); font-weight: 600; }
.ps-card-value { font-size: 16px; font-weight: 700; margin-top: 2px; color: var(--ink); }
.ps-list-title { margin-top: 12px; font-size: 10px; color: var(--ink-3); font-weight: 600; }
.ps-list-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 11px; border-bottom: 1px solid #F3EEE4; }
.ps-list-row:last-child { border-bottom: none; }
.ps-list-row .k { color: var(--ink); }
.ps-list-row .v { color: var(--ink-3); font-weight: 600; }
.ps-list-row .v.neg { color: #B85959; }
.ps-list-row .v.pos { color: #0F5E30; }
.ps-list-row .v.bold { font-weight: 800; }
.ps-foot {
  margin-top: auto;
  text-align: center;
  padding: 10px;
  background: #F3EEE4;
  border-radius: 8px;
  font-size: 10px;
  color: var(--ink-3);
}
.ps-foot.up {
  background: #E5F1E9;
  color: #0F5E30;
  font-weight: 700;
}
.ps-chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--ink-3);
  margin-top: 4px;
}
.ps-after .ps-list-title { margin-top: 14px; }
.ps-after .ps-amount-sub.up + .ps-chart { margin-top: 12px; }

@media (max-width: 560px) {
  /* Stack the two phones vertically on narrow screens. Side-by-side at
   * mobile width forces each phone to ~170px, which is too tight for the
   * dense Hebrew RTL content (currency + amount lines wrap, list rows
   * squish). Stacking gives each phone ~280px and lets the inner layout
   * breathe. The gap is generous because each phone has a label sitting
   * ~24px above its top edge (.phone-label { top: -24px }) — a smaller
   * gap would let the second phone's label collide with the first
   * phone's bottom edge. */
  .portfolio-compare {
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }
  .phone {
    width: min(78vw, 280px);
    border-radius: 30px;
    padding: 10px;
  }
  .phone-screen {
    border-radius: 22px;
    padding: 44px 18px 18px;
  }
  .phone .notch {
    width: 64px;
    height: 16px;
    top: 15px;
  }
  /* Mild tilt only — anything more and the phone's corners poke outside
   * the column's centered axis, which on narrow viewports clips. */
  .phone.before {
    transform: rotate(-2deg);
  }
  .phone.after {
    transform: rotate(2deg);
    /* Override the desktop offset (margin-top: 32px) — when stacked the
     * gap above already separates them; an extra margin would just add
     * lopsided whitespace. */
    margin-top: 0;
  }
  .phone-label {
    top: -26px;
    font-size: 11px;
  }
  .ps-amount { font-size: 22px; }
}

/* Video social proof */
.video-proof {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-top: 80px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.video-proof-media,
.video-proof-copy {
  direction: rtl;
}
.video-proof-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-frame {
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 30%, rgba(0,0,0,0.2) 100%),
    #10110E;
  box-shadow: 0 30px 60px -22px rgba(20,21,18,0.34), 0 10px 22px -14px rgba(20,21,18,0.24);
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  background: #0E0F0C;
}
.video-proof-cta {
  width: min(100%, 330px);
  margin-top: 28px;
}
.video-proof-copy h2 {
  margin-top: 20px;
  margin-bottom: 22px;
}
.video-proof-copy .lead {
  max-width: 46ch;
}
.video-proof-highlight {
  max-width: 44ch;
  margin-top: 30px;
  padding: 22px 0 20px;
  border-top: 1px solid rgba(15, 94, 48, 0.22);
  border-bottom: 1px solid rgba(15, 94, 48, 0.22);
  color: var(--ink);
  display: grid;
  gap: 7px;
}
.video-proof-kicker {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.video-proof-highlight strong {
  color: var(--green-deep);
  font-family: 'Heebo', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}
.video-proof-metric {
  direction: rtl;
  unicode-bidi: isolate;
  display: inline-flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0.06em;
}
.video-proof-metric .metric-amount {
  direction: ltr;
  unicode-bidi: isolate;
}
.video-proof-highlight > span:not(.video-proof-kicker) {
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.video-proof-copy p:not(.lead):not(.video-proof-fine) {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.6;
}
.video-proof-fine {
  max-width: 46ch;
  margin-top: 24px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .video-proof {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 64px;
    padding-top: 56px;
  }
  .video-proof-media {
    order: 2;
  }
  .video-proof-copy {
    order: 1;
  }
}
@media (max-width: 560px) {
  .video-proof {
    margin-top: 52px;
  }
  .video-frame {
    width: min(100%, 280px);
    border-radius: 22px;
    padding: 8px;
  }
  .video-frame video {
    border-radius: 15px;
  }
  .video-proof-highlight {
    padding: 20px 0 18px;
  }
  .video-proof-highlight strong {
    font-size: 42px;
  }
  .video-proof-highlight > span:not(.video-proof-kicker) {
    font-size: 16px;
  }
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 780px) { .stats-strip { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 32px 20px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}
.stat:first-child { border-inline-start: 0; }
@media (max-width: 780px) {
  .stat:nth-child(odd) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.stat .num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  line-height: 1;
}
.stat .lbl {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 10px;
}

/* Differentiator */
.diff-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 780px) { .diff-table { grid-template-columns: 1fr; } }
.diff-col {
  padding: 36px;
  border-radius: var(--radius-lg);
}
.diff-col.a {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.diff-col.b {
  background: #fff;
  border: 2px solid var(--green);
  position: relative;
}
.diff-col.b::before {
  content: "זה אני";
  position: absolute;
  top: -12px;
  inset-inline-start: 24px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
}
.diff-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--ink);
}
.diff-col.a h3 { color: var(--ink-3); }
.diff-col ul {
  list-style: none; padding: 0; margin: 0;
}
.diff-col ul li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-2);
}
.diff-col ul li:first-child { border-top: 0; }

/* Founder */
.founder {
  background: var(--green-ink);
  color: #fff;
}
.founder h2 { color: #fff; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
}
.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1F9D4E 0%, #0F5E30 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.founder-copy p + p { margin-top: 18px; }
.founder-copy p strong { color: #fff; font-weight: 600; }
.founder-sig {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.founder-sig img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.founder-sig .name { font-weight: 700; font-size: 18px; color: #fff; }
.founder-sig .title { font-size: 14px; color: rgba(255,255,255,0.6); }

/* FAQ */
.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: start;
  padding: 28px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--green-deep); }
.faq-q .plus {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink-2);
  transition: background 0.2s, transform 0.25s, color 0.2s;
}
.faq-item.open .faq-q .plus {
  background: var(--green);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 72ch;
}

/* Final CTA */
.finalcta {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.finalcta h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.finalcta .lead { color: rgba(250,247,242,0.72); }
.finalcta .lead.bright { color: #fff; margin-top: 16px; }
.finalcta .body { margin-top: 24px; font-size: 16px; color: rgba(250,247,242,0.6); line-height: 1.6; }
.finalcta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .finalcta-grid { grid-template-columns: 1fr; gap: 40px; }
}
.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(4px);
}
.form-row {
  margin-bottom: 20px;
}
.form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(250,247,242,0.6);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.form input,
.form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 17px;
  color: #fff;
  font-family: inherit;
  direction: rtl;
  text-align: right;
  transition: border-color 0.15s, background 0.15s;
}
.form textarea {
  min-height: 96px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(255,255,255,0.08);
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(250,247,242,0.35); }
.form-error {
  color: #ffd0d0;
  background: rgba(180, 40, 40, 0.18);
  border: 1px solid rgba(255, 160, 160, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.form .submit,
.form button[type="submit"],
.form input[type="submit"] {
  /* Hug the label with generous horizontal padding rather than spanning
   * the form. `fit-content` sizes to the intrinsic content width; the
   * auto inline margins center it in the form. The JS loading state
   * pins the width before swapping the label so the dot count can't
   * shrink the button mid-animation. */
  width: fit-content;
  /* Center the CTA in the dead space below the last field. The form's
   * top padding is 36px and the fine-print + bottom padding occupies
   * roughly the same; this margin pushes the button down so the gap
   * above (from phone field) matches the gap below (to card edge). */
  margin-top: 36px;
  margin-inline: auto;
  background: var(--green);
  color: #fff;
  padding: 16px 56px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  /* `display: block` (not flex) — `<input type="submit">` is replaced/
   * inline-level by default, and `display: flex` keeps its outer display
   * inline-level in some browsers, which makes `margin-inline: auto`
   * silently fail to center on mobile. Block guarantees centering.
   * For `<button>` siblings the centering is the same; if we ever add
   * an SVG icon child we'll switch the button-only selector to flex. */
  display: block;
  transition: background 0.15s, transform 0.15s;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  /* Override the `.form input { text-align: right; }` rule so the submit
   * label centers in both LTR and RTL contexts. <input type="submit">
   * inherits text-align from the generic .form input rule otherwise. */
  text-align: center;
}
.form .submit svg {
  width: 18px;
  height: 18px;
}
.form .submit:hover,
.form button[type="submit"]:hover,
.form input[type="submit"]:hover { background: #169044; transform: translateY(-1px); }
.form .submit:disabled,
.form button[type="submit"]:disabled { cursor: progress; opacity: 0.72; transform: none; }
.form .fine {
  font-size: 13px;
  color: rgba(250,247,242,0.45);
  /* Tuck the disclaimer close to the CTA — it's a footnote on the
   * button, not a separate section. The card's 36px bottom padding
   * keeps it off the edge. */
  margin-top: 10px;
  text-align: center;
}
.form.sent {
  text-align: center;
  padding: 60px 36px;
}
.form.sent .ok {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}
.form.sent .ok svg {
  width: 32px;
  height: 32px;
}
.form.sent h3 { color: #fff; margin-bottom: 12px; }
.form.sent p { color: rgba(250,247,242,0.7); font-size: 16px; }

/* CF7-specific overrides — keep the dark form aesthetic intact and brand
 * the loading + response states.
 *
 * CF7 emits its own wrappers:
 *   <div class="wpcf7"><form class="wpcf7-form init">...</form></div>
 * inside our `.form` container. We collapse the outer `.wpcf7` div so we
 * don't end up with three nested boxes, and we force RTL since CF7 sets
 * `dir` from the form's locale and may default to LTR.
 */
.form .wpcf7 {
  display: contents;
}
.form .wpcf7-form {
  direction: rtl;
}
.form .wpcf7 .screen-reader-response {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
/* CF7 wraps each field in a <p> by default. Our `.form-row` class is
 * preferred (matches the placeholder template) but be defensive in case
 * the admin form template uses raw <p>. */
.form .wpcf7-form > p {
  margin: 0 0 20px;
}
.form .wpcf7-form-control-wrap {
  display: block;
}

/* Per-field validation tip ("שדה חובה" under an empty input). */
.form .wpcf7-not-valid-tip {
  color: #ffcfcf;
  font-size: 13px;
  margin-top: 8px;
  text-align: start;
  display: flex;
  gap: 8px;
  align-items: center;
}
.form .wpcf7-not-valid-tip::before {
  content: '';
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}
.form .wpcf7-not-valid {
  border-color: rgba(255, 160, 160, 0.5) !important;
  background: rgba(255, 160, 160, 0.06) !important;
}

/* Response output (success / fail / spam / validation summary).
 * On success the user is redirected to /thank-you/ via the wpcf7mailsent
 * listener, so this surface is mostly seen on failures. */
.form .wpcf7-response-output {
  color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 12px;
  padding: 14px 18px !important;
  margin: 18px 0 0 !important;
  font-size: 14px;
  line-height: 1.55;
  text-align: start;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: liel-cf7-msg 240ms ease-out;
}
.form .wpcf7-response-output::before {
  content: '';
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  margin-top: 2px;
}
.form .wpcf7-form.invalid .wpcf7-response-output,
.form .wpcf7-form.unaccepted .wpcf7-response-output {
  border-color: rgba(255,160,160,0.32) !important;
  background: rgba(255,160,160,0.06);
  color: #ffcfcf;
}
.form .wpcf7-form.failed .wpcf7-response-output,
.form .wpcf7-form.spam .wpcf7-response-output {
  border-color: rgba(255,200,140,0.32) !important;
  background: rgba(255,200,140,0.06);
  color: #ffd9b8;
}
.form .wpcf7-form.sent .wpcf7-response-output {
  border-color: rgba(123, 200, 150, 0.42) !important;
  background: rgba(123, 200, 150, 0.06);
  color: #c8ebd4;
}
@keyframes liel-cf7-msg {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hide CF7's default spinner — replaced by a custom branded loader
 * inside the submit button itself. */
.form .wpcf7-spinner {
  display: none !important;
}

/* Submit button — branded loading state. While CF7 is in flight it adds
 * `.submitting` to the form; the actual label swap ("שולח" + animated
 * dots) is done in JS (initCf7Loading in frontend.js) because pseudo-
 * elements don't render on <input> elements, so the visual change has to
 * be the input's own `value`. CSS only has to handle the disabled feel. */
.form .wpcf7-form.submitting .wpcf7-submit,
.form .wpcf7-form.submitting input[type="submit"],
.form .wpcf7-form.submitting button[type="submit"] {
  cursor: progress;
  pointer-events: none;
  opacity: 0.94;
  background: #169044;
}

/* Footer */
.foot {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-3);
}
.foot-logo { display: flex; align-items: center; gap: 10px; }
.foot-logo img { height: 32px; }
.foot-logo .name { font-weight: 700; color: var(--ink); font-size: 15px; }
.foot-logo .sub { font-size: 12px; }
.foot-legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.foot-link {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.foot-link:hover { color: var(--green); }

/* Privacy policy */
.policy-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(229,241,233,0.7) 0%, rgba(250,247,242,0) 420px),
    var(--bg);
  padding: clamp(32px, 6vw, 72px) 0 clamp(72px, 9vw, 120px);
}
.policy-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}
.policy-back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255,255,255,0.52);
}
.policy-back:hover {
  border-color: rgba(15,94,48,0.28);
  background: rgba(255,255,255,0.82);
}
.policy-header {
  padding: clamp(36px, 7vw, 84px) 0 clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.policy-header h1 {
  margin-top: 20px;
  font-size: clamp(42px, 7vw, 78px);
}
.policy-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.policy-section h2 {
  margin-bottom: 18px;
  color: var(--green-deep);
  font-size: clamp(24px, 3vw, 34px);
}
.policy-section p,
.policy-section li,
.policy-details {
  color: var(--ink-2);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.85;
}
.policy-section p + p,
.policy-section ul + p,
.policy-section ol + p {
  margin-top: 16px;
}
.policy-section ul,
.policy-section ol {
  margin: 14px 0 0;
  padding-inline-start: 24px;
}
.policy-section li + li { margin-top: 8px; }

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal-ready .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Mid-page CTA blocks (after HowItWorks + Results) */
.section-cta {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
  gap: 12px;
  border-radius: 14px;
}
.section-cta-sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 560px) {
  .section-cta { margin-top: 40px; }
  .btn-lg { padding: 16px 24px; font-size: 15px; }
  .foot-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .policy-shell { width: min(100% - 28px, 920px); }
}

/* Centered eyebrow + h2 helper for sections */
.section-head { text-align: center; max-width: 720px; margin: 0 auto; }
.section-head h2 { margin-top: 20px; }

/* WP admin/editor surface — keep front-end CSS from leaking weirdly into wp-admin */
body.wp-admin { font-family: inherit; }

/* ============================================================
   Thank-you page (/thank-you/)
   ============================================================ */
.thanks-page { background: var(--bg); }

.thanks-bar {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}
.thanks-bar .wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 28px;
}
.thanks-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: inherit;
}
.thanks-logo img { height: 36px; flex-shrink: 0; }
.thanks-logo-text {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}
.thanks-logo .brand-name {
	font-weight: 800;
	font-size: 17px;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.thanks-logo .brand-sub {
	font-size: 13px;
	color: var(--ink-3);
}

.thanks {
	padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
	position: relative;
	overflow: hidden;
}
.thanks::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 520px;
	background: radial-gradient(900px 460px at 50% 0%, rgba(31,157,78,0.10), transparent 70%);
	pointer-events: none;
	z-index: 0;
}
.thanks > .wrap-narrow { position: relative; z-index: 1; }

.thanks-hero {
	text-align: center;
	max-width: 680px;
	margin: 0 auto;
}
.thanks-check {
	width: 88px;
	height: 88px;
	margin: 0 auto 28px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 32px -8px rgba(31,157,78,0.5);
	animation: thanksPop 600ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.thanks-check svg { width: 44px; height: 44px; }
@keyframes thanksPop {
	0%   { transform: scale(0.4); opacity: 0; }
	100% { transform: scale(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.thanks-check { animation: none; }
}

.thanks-hero h1 {
	font-size: clamp(36px, 4.6vw, 60px);
	margin-bottom: 18px;
}
.thanks-hero .lead {
	margin: 0 auto;
	color: var(--ink-2);
}

.thanks-timeline {
	margin-top: clamp(48px, 6vw, 80px);
	padding: clamp(28px, 3.5vw, 44px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: saturate(120%);
}
.thanks-timeline > .eyebrow { margin-bottom: 22px; }
.thanks-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}
.thanks-steps li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 18px 22px;
	border-radius: 16px;
	background: var(--bg);
	border: 1px solid var(--line);
}
.thanks-steps .num {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--green-soft);
	color: var(--green-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.04em;
}
.thanks-steps .step-copy { display: block; }
.thanks-steps strong {
	display: block;
	font-weight: 700;
	font-size: 17px;
	color: var(--ink);
	margin-bottom: 4px;
}
.thanks-steps .step-copy span {
	display: block;
	font-size: 15px;
	color: var(--ink-2);
	line-height: 1.55;
}

.thanks-prep {
	margin-top: clamp(56px, 7vw, 88px);
	text-align: center;
}
.thanks-prep > .eyebrow { margin-bottom: 16px; }
.thanks-prep h2 {
	font-size: clamp(26px, 3.2vw, 38px);
	margin-bottom: 28px;
}
.thanks-quote {
	font-size: clamp(19px, 2.3vw, 26px);
	font-weight: 700;
	line-height: 1.55;
	color: var(--green-deep);
	padding: 28px 24px;
	border-block: 2px solid rgba(15, 94, 48, 0.22);
	margin: 0 auto;
	max-width: 640px;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.thanks-prep-note {
	margin-top: 18px;
	color: var(--ink-3);
	font-size: 15px;
}

.thanks-back {
	margin-top: clamp(48px, 6vw, 72px);
	text-align: center;
}
.thanks-back .btn-ghost svg { transition: transform 0.18s ease; }
.thanks-back .btn-ghost:hover svg { transform: translateX(4px); }

@media (max-width: 700px) {
	.thanks-bar .wrap { padding: 0 20px; }
	.thanks-logo .brand-sub { display: none; }
	.thanks-steps li {
		flex-direction: column;
		gap: 10px;
		padding: 16px 18px;
	}
}
