:root {
  --bg: #10100e;
  --bg-2: #171713;
  --ink: #f4f4ef;
  --muted: #b9b9ae;
  --line: #2e2e28;
  --lime: #f3eadc;
  --lime-ink: #16140f;
  --danger: #ffb4a8;
  color-scheme: dark;
  font-family: Manrope, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(var(--lime), var(--lime)) left top / 4px 100% no-repeat,
    var(--bg);
}
html[dir="rtl"] body {
  background:
    linear-gradient(var(--lime), var(--lime)) right top / 4px 100% no-repeat,
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }

html[lang="en"] h1,
html[lang="en"] .stat strong,
html[lang="en"] .price strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

html[lang="he"] {
  font-family: Heebo, "Segoe UI", sans-serif;
}
html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] .stat strong,
html[lang="he"] .price strong {
  font-family: Heebo, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.kicker {
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
html[lang="he"] .kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
}
.mark {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.mark span {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-inline-start: 6px;
  transition: color 0.18s ease;
}
.mark:hover span { color: var(--lime); }
html[lang="he"] .mark { letter-spacing: 0; font-size: 18px; }
html[lang="he"] .mark span { letter-spacing: 0; }
.nav-links { display: flex; gap: 18px; margin-inline-start: auto; align-items: center; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:not(.btn) {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: color 0.18s ease, background-size 0.22s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); background-size: 100% 2px; }
.nav-links a.btn,
.nav-links a.btn:hover { color: var(--lime-ink); background-color: var(--lime); background-image: none; }
.lang {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 13px;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.lang:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.lang:active { transform: translateY(0) scale(0.96); }
.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  min-height: 46px;
  padding: 0 18px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 600;
  box-shadow: 4px 4px 0 #070706;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, color 0.14s ease;
}
html[lang="en"] .btn,
html[lang="en"] .btn-ghost {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #070706; }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #070706; }
.btn:disabled {
  background: #34342e;
  color: #8a8a80;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn[hidden] { display: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); box-shadow: none; }
.btn-ghost:active { transform: translateY(1px) scale(0.98); }
.btn-ghost.is-done { border-color: var(--lime); color: var(--lime-ink); background: var(--lime); }
.btn:focus-visible, .btn-ghost:focus-visible, .choice:focus-visible, .offer-switch button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 48px;
  align-items: center;
  padding: 28px 0 48px;
}
h1 { font-size: clamp(52px, 8vw, 96px); line-height: 0.88; }
html[lang="he"] h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.15; }
html[lang="he"] h1 .nowrap { white-space: nowrap; }
.lede { margin-top: 18px; max-width: 38rem; color: var(--muted); font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 26px; }
.whisper { color: var(--muted); font-size: 14px; }
.whisper a { color: var(--ink); }
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: var(--bg-2);
  justify-self: end;
  box-shadow: 14px 14px 0 var(--lime);
}
html[dir="rtl"] .hero-photo { box-shadow: -14px 14px 0 var(--lime); }
.hero-photo.is-tall {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 42%;
  max-height: 640px;
}
.offer-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.offer-switch button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}
.offer-switch button[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}
.offer-price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.offer-price strong { font-size: 28px; font-weight: 600; }
.offer-price span { color: var(--muted); font-size: 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 22px 16px; transition: background 0.18s ease; }
.stat:hover { background: var(--bg-2); }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; transition: color 0.18s ease; }
.stat:hover strong { color: var(--lime); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }

.section { padding: 64px 0; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; max-width: 16ch; }
h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 14px;
  background: var(--lime);
}
html[lang="he"] h2 { max-width: 18ch; line-height: 1.25; }
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.goal {
  background: var(--bg-2);
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-inline-start: 0 solid var(--lime);
  transition: transform 0.18s ease, border-width 0.18s ease, background 0.18s ease;
}
.goal:hover { transform: translateY(-6px); border-inline-start-width: 4px; background: #1d1d17; }
.goal svg, .choice svg, .fact svg { width: 28px; height: 28px; stroke: var(--lime); fill: none; stroke-width: 1.7; }
.goal h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 600; }
.goal p, .nutrition p, .step p { color: var(--muted); line-height: 1.45; }
.nutrition {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  background: var(--bg-2);
  align-items: stretch;
}
.nutrition div { padding: 28px; }
.nutrition img {
  width: 420px;
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  box-shadow: 12px 12px 0 var(--lime);
}
html[dir="rtl"] .nutrition img { box-shadow: -12px 12px 0 var(--lime); }

.coach {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.coach img {
  width: 100%;
  aspect-ratio: 903 / 1024;
  object-fit: cover;
  object-position: center;
  background: #222224;
  box-shadow: 14px 14px 0 var(--lime);
}
html[dir="rtl"] .coach img { box-shadow: -14px 14px 0 var(--lime); }
.coach p { margin-top: 16px; max-width: 36rem; color: var(--muted); line-height: 1.5; }
html[lang="en"] .coach h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: none;
}

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.steps article {
  border-top: 2px solid var(--line);
  padding-top: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.steps article:hover { border-top-color: var(--lime); transform: translateY(-4px); }
.step-no {
  color: var(--lime);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 40px;
  letter-spacing: 0;
  line-height: 0.9;
}
html[lang="he"] .step-no { font-family: Heebo, "Segoe UI", sans-serif; font-size: 32px; letter-spacing: 0; }
.steps h3 { margin: 10px 0; font-size: 22px; }
.steps p:not(.step-no) { color: var(--muted); line-height: 1.45; }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.reviews blockquote {
  margin: 0;
  min-height: 220px;
  padding: 22px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-inline-start: 0 solid var(--lime);
  transition: transform 0.18s ease, border-width 0.18s ease;
}
.reviews blockquote:hover { transform: translateY(-6px); border-inline-start-width: 4px; }
.reviews p { line-height: 1.5; }
.reviews footer { color: var(--muted); font-size: 14px; }

.faq { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--lime);
  font-size: 28px;
  line-height: 1;
  flex: none;
  transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--lime); }
.faq p { margin: 0 0 18px; max-width: 42rem; color: var(--muted); line-height: 1.5; }
.faq strong { color: var(--lime); font-weight: 600; }
.faq a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
#contact .lede { margin: 16px 0 22px; max-width: 36rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.close {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding: 36px 0 8px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  padding: 18px 0 32px;
}

.pay-main { width: min(640px, calc(100% - 40px)); margin: 8vh auto 10vh; }
.pay-main h1 { font-size: clamp(48px, 8vw, 80px); }
.price { margin: 28px 0 8px; color: var(--muted); }
.price strong { color: var(--ink); font-size: 72px; line-height: 0.9; display: block; }
html[lang="he"] .price strong { font-size: 56px; }
.fine { color: var(--muted); margin: 16px 0 28px; line-height: 1.5; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.textlink { color: var(--muted); font-size: 14px; }

.wizard {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  width: min(1120px, 100%);
  margin-inline: auto;
  min-height: 100vh;
}
.visual { position: sticky; top: 0; height: 100vh; background: #0b0b09; overflow: hidden; }
.visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s ease; }
.visual:hover img { transform: scale(1.05); }
.visual-card {
  position: absolute;
  inset-inline: 20px;
  bottom: 20px;
  background: #10100ee6;
  padding: 16px;
}
.facts { display: grid; gap: 10px; margin-top: 12px; }
.fact { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.panel { padding: 28px 32px 48px; display: flex; flex-direction: column; min-height: 100vh; }
.screen { margin-block: auto; }
.screen:not([hidden]) { animation: screen-in 0.38s ease both; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.progress { height: 3px; background: var(--line); margin: 22px 0; }
.progress span { display: block; height: 100%; background: var(--lime); width: 0; transition: width 0.35s ease; }
.screen[hidden] { display: none; }
.screen h1 { font-size: clamp(40px, 5vw, 64px); }
html[lang="he"] .screen h1 { font-size: clamp(34px, 4vw, 52px); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.choices.is-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices.is-compact .choice { min-height: 0; }
.choice {
  text-align: start;
  background: var(--bg-2);
  border: 1px solid transparent;
  padding: 16px;
  min-height: 108px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.choice:hover { transform: translateY(-3px); border-color: #5a5a46; }
.choice:active { transform: translateY(0) scale(0.97); }
.choice[aria-pressed="true"],
.choice[aria-pressed="true"]:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--lime-ink);
  transform: translateY(-2px);
}
.choice[aria-pressed="true"] svg { stroke: var(--lime-ink); }
.choice span { font-size: 18px; font-weight: 600; }
.row-actions { display: flex; gap: 10px; align-items: center; margin-top: 26px; }
.back {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  min-height: 46px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.back:hover { color: var(--ink); }
.back:active { transform: translateX(-4px); }
html[dir="rtl"] .back:active { transform: translateX(4px); }
.cal-status { color: var(--muted); min-height: 1.2em; margin-top: 12px; }
.cal-status.is-error { color: var(--danger); }
.cal-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.cal-nav p { font-weight: 700; text-align: center; font-size: 18px; }
html[lang="en"] .cal-nav p {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cal-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.cal-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
html[dir="rtl"] .cal-arrow svg { transform: scaleX(-1); }
.cal-arrow:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.cal-arrow:active:not(:disabled) { transform: scale(0.94); }
.cal-arrow:disabled { opacity: 0.28; cursor: not-allowed; transform: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.cal-dow { text-align: center; color: var(--muted); font-size: 12px; padding-bottom: 4px; }
.hour-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.slot, .day {
  background: var(--bg-2);
  border: 1px solid transparent;
  min-height: 44px;
  cursor: pointer;
  text-align: center;
  padding: 8px 4px;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.day:hover:not(:disabled), .slot:hover:not(:disabled) { transform: translateY(-2px); border-color: #5a5a46; }
.day:active:not(:disabled), .slot:active:not(:disabled) { transform: scale(0.94); }
.slot[aria-pressed="true"], .day[aria-pressed="true"],
.slot[aria-pressed="true"]:hover, .day[aria-pressed="true"]:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--lime-ink);
}
.day:disabled, .slot:disabled { opacity: 0.28; cursor: not-allowed; transform: none; }
.fields { display: grid; gap: 12px; margin-top: 22px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 12px;
  min-height: 48px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus, textarea:focus { border-color: var(--lime); background: #1c1c16; }
textarea { min-height: 96px; resize: vertical; }
.error { color: var(--danger); min-height: 1.2em; font-size: 14px; }
.error:not([hidden]) { animation: shake 0.36s ease; }
.paid-note { border: 1px solid var(--line); padding: 10px 12px; color: var(--muted); margin-bottom: 18px; }
.done-when { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 12px 0; }

@keyframes screen-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes shake {
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@media (max-width: 860px) {
  .wrap, .nav { width: min(1120px, calc(100% - 32px)); }
  .nav { flex-wrap: wrap; align-items: stretch; gap: 14px; }
  .nav-links { flex: 1 0 100%; min-width: 0; margin-inline-start: 0; flex-wrap: wrap; gap: 12px 16px; }
  .nav-links a:not(.btn) { order: 1; }
  .nav-links a.btn { order: 2; flex: 1 1 100%; min-width: 0; }
  .hero, .nutrition, .steps, .goals, .wizard, .coach, .reviews { grid-template-columns: 1fr; }
  .hero { gap: 28px; padding: 8px 0 36px; }
  .hero-photo { width: 100%; height: auto; justify-self: stretch; box-shadow: 8px 8px 0 var(--lime); }
  .hero-photo.is-tall { max-height: 460px; aspect-ratio: 4 / 5; }
  .nutrition img { width: 100%; height: 220px; justify-self: stretch; box-shadow: 8px 8px 0 var(--lime); }
  .coach img { box-shadow: 8px 8px 0 var(--lime); }
  html[dir="rtl"] .hero-photo, html[dir="rtl"] .nutrition img, html[dir="rtl"] .coach img { box-shadow: -8px 8px 0 var(--lime); }
  .section { padding: 40px 0; }
  h1 { font-size: clamp(40px, 12vw, 64px); line-height: 0.92; }
  html[lang="he"] h1, html[lang="he"] .screen h1 { font-size: clamp(32px, 9vw, 48px); line-height: 1.2; }
  .lede { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px 12px; }
  .stat + .stat { border-inline-start: 0; border-top: 0; }
  .stat:nth-child(2n) { border-inline-start: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .nutrition div { padding: 20px; }
  .close, .foot { flex-direction: column; align-items: flex-start; }
  .wizard { width: 100%; }
  .visual { position: relative; height: auto; }
  .visual img { height: 160px; }
  .visual-card { position: static; }
  .panel { padding: 20px 16px 40px; min-height: 0; }
  .screen h1 { font-size: clamp(34px, 10vw, 52px); }
  .choices, .choices.is-compact { grid-template-columns: 1fr 1fr; }
  .choice { min-height: 0; padding: 14px; }
  .hour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal-grid { gap: 4px; }
  .cal-dow { font-size: 11px; line-height: 1.2; white-space: nowrap; }
  .day, .slot { min-height: 42px; padding: 6px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
