/* Slavin Digital · VSL landing page
   Brand from the intro deck: Heebo, ink #111, orange #F16522 / #FF7217 / #FD8E0D,
   white pages, orange square markers, an orange bar closing the page.
   The one loud element: the "lead going cold" timeline, where the brand's flame
   orange drains to ash grey hour by hour. Everything else stays quiet. */

:root {
  --ink: #111111;
  --text: #2a2a2a;
  --muted: #5d6066;
  --line: #e3e3df;
  --mist: #f5f5f3;
  --paper: #ffffff;
  --orange: #f16522;
  --orange-text: #c2410c; /* orange for small text on white (AA) */
  --flame: #ff7217;
  --amber: #fd8e0d;
  --ash: #8c9096;
  --radius: 14px;
  --wrap: 1160px;
  --font: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }
.wrap--video { max-width: 1000px; }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 50;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 1rem; }

.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 900; letter-spacing: -.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: .8rem 2rem;
  font: 700 1.2rem/1.2 var(--font);
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.btn--hot { background: var(--orange); color: #fff; }
.btn--hot:hover { background: #dc5714; }
.btn--hot:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.top__logo img { height: 40px; width: auto; }
.top__phone { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.top__phone:hover { color: var(--orange-text); }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.hero__grid { display: grid; gap: 1.5rem clamp(2rem, 4vw, 4rem); align-items: start; grid-template-areas: 'head' 'lead' 'form' 'list'; }
.hero__head { grid-area: head; }
.hero__lead { grid-area: lead; }
.hero__list { grid-area: list; }
.signup { grid-area: form; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto 1fr; grid-template-areas: 'head head' 'lead form' 'list form'; row-gap: 1.75rem; }
}
.hero__for { font-weight: 700; color: var(--orange-text); font-size: 1.05rem; margin-bottom: 1rem; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); text-wrap: balance; font-weight: 900; letter-spacing: -.015em; line-height: 1.04; }
.hero__line { display: block; }
.hero__line--hot { color: var(--orange); }
.hero__lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); max-width: 36em; color: var(--text); }
.hero__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; max-width: 34em; }
.hero__list li { position: relative; padding-inline-start: 1.6rem; }
.hero__list li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .55em;
  width: .62em; height: .62em; background: var(--orange); border-radius: 2px;
}

/* Signup card: the locked training on top, the form under it */
.signup {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px -32px rgba(17, 17, 17, .35);
  overflow: hidden; scroll-margin-top: 1rem;
}
.thumb, .screen__wait {
  position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; color: #fff;
}
.thumb__photo {
  position: absolute; inset-block: 0; inset-inline-end: 0; height: 100%; width: auto;
  aspect-ratio: 1; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 98%);
          mask-image: linear-gradient(to right, #000 55%, transparent 98%);
  opacity: .92;
}
.thumb__side {
  position: absolute; inset-block: 0; inset-inline-start: 7%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem;
}
.thumb__words {
  display: grid; font-weight: 900; line-height: 1; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
}
.thumb__words span:nth-child(1) { color: var(--flame); }
.thumb__words span:nth-child(2) { color: #fff; }
.thumb__words span:nth-child(3) { color: #c9ccd1; }
.thumb__lock, .screen__note {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .9rem; font-weight: 500; background: rgba(255, 255, 255, .14);
  padding: .3rem .85rem .3rem .3rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.thumb__play { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); }
.thumb__play::after {
  content: ''; position: absolute; top: 50%; left: 50%; margin: -6px 0 0 -3px;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff;
}

.form { padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 1.75rem; }
.form__title { font-size: 1.5rem; font-weight: 900; margin-bottom: 1rem; }
.field { margin-bottom: .9rem; }
.field label { display: block; font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: .3rem; }
.field input {
  width: 100%; height: 52px; padding: 0 .9rem;
  font: 400 1.1rem var(--font); color: var(--ink);
  border: 1.5px solid #cfd0cc; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input[dir='ltr'] { text-align: right; }
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(241, 101, 34, .18); }
.field input[aria-invalid='true'] { border-color: #b42318; }
.field__err { color: #b42318; font-size: .92rem; min-height: 0; margin-top: .25rem; }
.field__err:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: var(--muted); margin: .4rem 0 1.1rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--orange); }
.form__btn { width: 100%; }
.form__status { margin-top: .8rem; font-weight: 500; color: #b42318; }
.form__status:empty { display: none; }
.form__fine { margin-top: .9rem; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.form__fine a { color: var(--muted); }

/* The cooling timeline */
.cold { background: var(--ink); color: #e9e9e7; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cold__title { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; }
.cold__sub { margin-top: .6rem; color: #a8abb0; }
.heat {
  --bar: linear-gradient(to left, var(--flame) 0%, var(--amber) 30%, #b7896b 62%, var(--ash) 100%);
  list-style: none; margin: 3rem 0 0; padding: 0; position: relative; display: grid; gap: 2rem;
}
.heat__stop { position: relative; }
.heat__time { display: block; font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; margin-bottom: .6rem; }
.heat__text { color: #d4d5d8; max-width: 22em; }
.heat__stop:nth-child(1) .heat__time { color: var(--flame); }
.heat__stop:nth-child(2) .heat__time { color: var(--amber); }
.heat__stop:nth-child(3) .heat__time { color: #c99a77; }
.heat__stop:nth-child(4) .heat__time { color: var(--ash); }
.heat__stop::before {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 4px solid var(--ink); box-sizing: content-box;
}
.heat__stop:nth-child(1)::before { background: var(--flame); box-shadow: 0 0 0 6px rgba(255, 114, 23, .28); }
.heat__stop:nth-child(2)::before { background: var(--amber); }
.heat__stop:nth-child(3)::before { background: #c99a77; }
.heat__stop:nth-child(4)::before { background: var(--ash); }

/* Phones: the bar runs down the right edge */
@media (max-width: 899px) {
  .heat { padding-inline-start: 2.6rem; }
  .heat::before {
    content: ''; position: absolute; inset-inline-start: 11px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px;
    background: linear-gradient(to bottom, var(--flame) 0%, var(--amber) 30%, #b7896b 62%, var(--ash) 100%);
    transform-origin: top;
  }
  .heat__stop::before { inset-inline-start: -2.6rem; top: 2px; }
}
/* Wide screens: the bar runs right to left, the way the day goes in Hebrew */
@media (min-width: 900px) {
  .heat { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-top: 3.25rem; }
  .heat::before {
    content: ''; position: absolute; top: 9px; inset-inline: 0; height: 4px; border-radius: 4px;
    background: var(--bar); transform-origin: right;
  }
  .heat__stop::before { top: -3.25rem; inset-inline-start: 0; }
}

/* One orchestrated reveal: the heat drains across the bar, stop by stop */
.js .heat::before { transform: scale(0); transition: transform 1.8s cubic-bezier(.3, .1, .2, 1); }
@media (max-width: 899px) { .js .heat::before { transform: scaleY(0); } }
@media (min-width: 900px) { .js .heat::before { transform: scaleX(0); } }
.js .heat__stop { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--t) * .45s + .15s); }
.js .heat.is-in::before { transform: none; }
.js .heat.is-in .heat__stop { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .heat::before, .js .heat__stop { transition: none; transform: none; opacity: 1; }
}

.cold__fact { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid #2c2c2c; max-width: 46em; }
.cold__stat { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; color: #f1f1ef; }
.cold__stat strong { color: var(--flame); font-weight: 900; }
.cold__src { margin-top: .6rem; font-size: .9rem; color: #8f9297; }
.cold__turn { margin-top: 3rem; color: #fff; font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.15; }

/* Steps */
.steps { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.steps__list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.step { position: relative; border-top: 4px solid var(--ink); padding-top: 1.25rem; }
.step__n { display: block; font-weight: 700; color: var(--orange-text); font-size: 1rem; }
.step__verb { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; margin: .2rem 0 1rem; }
.step p { max-width: 24em; }
.steps__cta { margin-top: 3rem; }

/* Proof */
.proof { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--mist); }
.proof--tight { padding-top: clamp(3rem, 5vw, 4.5rem); }
.clips { display: grid; gap: 1.25rem; margin-top: 2.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 640px) {
  .clips { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-inline-end: -1.25rem; }
  .clip { scroll-snap-align: start; }
}
.clip { margin: 0; }
.clip__play {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: #ddd; aspect-ratio: 9 / 16;
}
.clip__play img { width: 100%; height: 100%; object-fit: cover; }
.clip__play::after {
  content: ''; position: absolute; inset-inline-start: 12px; bottom: 12px; width: 52px; height: 52px;
  border-radius: 50%; background: rgba(17, 17, 17, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: background-color .15s;
}
.clip__play:hover::after { background-color: var(--orange); }
.clip figcaption { margin-top: .7rem; font-size: 1rem; color: var(--muted); }
.clip figcaption strong { display: block; color: var(--ink); font-size: 1.1rem; }

.logos { margin-top: 3.5rem; }
.logos__title { font-weight: 700; color: var(--ink); margin-bottom: 1.25rem; }
.logos__row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.logos__row img { height: 40px; width: auto; filter: grayscale(1); opacity: .78; }
.logos__row li:nth-child(1) img, .logos__row li:nth-child(3) img, .logos__row li:nth-child(8) img { height: 52px; }
.logos__row li:nth-child(5) img { height: 18px; }

/* About */
.about { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.about__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .about__grid { grid-template-columns: 240px 1fr; gap: 3.5rem; } }
.about__photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid var(--orange); }
.about__text p { margin-top: 1rem; max-width: 38em; }
.about__text strong { color: var(--ink); }

/* Fit */
.fit { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.fit__grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 800px) { .fit__grid { grid-template-columns: 1fr 1fr; } }
.fit__col { border-radius: var(--radius); padding: 1.6rem 1.75rem; }
.fit__col--yes { background: #fff4ec; }
.fit__col--no { background: var(--mist); }
.fit__col h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 1rem; }
.fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.fit__col li { position: relative; padding-inline-start: 2rem; }
.fit__col li::before { position: absolute; inset-inline-start: 0; top: 0; font-weight: 900; }
.fit__col--yes li::before { content: '✓'; color: var(--orange-text); }
.fit__col--no li::before { content: '✕'; color: var(--ash); }

/* FAQ */
.faq { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.faq .h2 { margin-bottom: 1.5rem; }
.faq__list { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; padding-inline-end: 2.2rem; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--orange-text); line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 1.2rem; max-width: 40em; }

/* Last call */
.last { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--mist); text-align: center; }
.last__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; margin-bottom: 1.75rem; }

/* Footer, closed by the orange bar from the deck */
.foot { background: var(--ink); color: #cfd0d3; padding: 2.5rem 0 calc(2.5rem + 10px); position: relative; }
.foot::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 10px; background: var(--flame); }
.foot__in { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.foot__logo { height: 38px; width: auto; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font-size: .98rem; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: #fff; text-decoration: underline; }

/* Phone dock: the orange bar becomes the button once the form scrolls away */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
    padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .dock.is-on { transform: none; }
  .dock__btn {
    display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px;
    background: var(--orange); color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none;
  }
  .page-home .foot { padding-bottom: calc(2.5rem + 10px + 76px); }
}

/* Testimonial player */
.player { padding: 0; border: 0; background: transparent; max-width: min(92vw, 460px); overflow: visible; }
.player::backdrop { background: rgba(10, 10, 10, .82); }
.player video { width: 100%; max-height: 86vh; border-radius: var(--radius); background: #000; aspect-ratio: 9 / 16; }
.player__close {
  position: absolute; top: -3rem; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* Training page */
.watch { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.watch__title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; letter-spacing: -.01em; }
.watch__lead { margin-top: .75rem; font-size: 1.2rem; max-width: 40em; }
.screen { margin-top: 1.75rem; border-radius: 18px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; box-shadow: 0 30px 70px -40px rgba(17, 17, 17, .6); }
.screen video { width: 100%; height: 100%; background: #000; }
.watch__cta { margin-top: 1.5rem; }
.watch__cta .btn.is-ready { box-shadow: 0 0 0 6px rgba(241, 101, 34, .25); }

.book { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--mist); scroll-margin-top: 0; }
.book__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .book__grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }
.book__text p { margin-top: 1rem; max-width: 34em; }
.book__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .65rem; }
.book__list li { position: relative; padding-inline-start: 1.6rem; }
.book__list li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: .62em; height: .62em; background: var(--orange); border-radius: 2px;
}
.cal { background: #fff; border-radius: 18px; border: 1px solid var(--line); min-height: 420px; overflow: hidden; }
.cal iframe { display: block; width: 100%; height: 720px; border: 0; }
.cal__wait { min-height: 420px; display: grid; place-content: center; text-align: center; gap: .6rem; padding: 2rem; color: var(--muted); }
.cal__wait p:first-child { font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.cal__alt a { font-weight: 700; color: var(--ink); }

/* Tracking notice (only when a Pixel or GA4 ID is set) */
.cbar {
  position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 40; max-width: 560px;
  background: var(--ink); color: #e6e6e4; border-radius: var(--radius);
  padding: 1rem 1.25rem; display: grid; gap: .8rem; font-size: .95rem; line-height: 1.5;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
}
.cbar a { color: #fff; }
.cbar__btns { display: flex; gap: .6rem; }
.cbar__ok, .cbar__no { font: 700 .98rem var(--font); border-radius: 999px; padding: .55rem 1.2rem; cursor: pointer; }
.cbar__ok { background: var(--orange); color: #fff; border: 0; }
.cbar__no { background: transparent; color: #e6e6e4; border: 1.5px solid #5a5a5a; }
