/* ============================================================
   מבוא ללונג׳ביטי, page identity: "המדידה"
   Arrangement: cream lead · deep-teal slabs · mint as the measuring colour
   (numbers, the trace) · gold only where money and the buy button live.
   Motif: the glucose trace, one continuous CGM line drawn across the hero.
   ============================================================ */

:root{ --slab-bg: var(--dark); --accent: var(--mint); --accent-2: var(--gold2); }
.btn--gold{ background:var(--violet); color:#231d0c; }

/* the mono ROLE stays (spaced, bold), the face becomes Assistant: LevitMono has
   no Hebrew and its numerals read as other letters (same call as retreat/villa) */
.mono, .sec-idx, .hf, .intro__kick, .price__cap{ font-family:var(--sans); font-weight:700; letter-spacing:.08em; }
.sec-idx{ font-size:clamp(1rem,1.35vw,1.2rem); }
.intro__kick{ font-size:clamp(.98rem,1.3vw,1.15rem) !important; letter-spacing:.1em !important; }
.sec-note{ font-size:clamp(1.1rem,1.6vw,1.3rem); }

/* ---------- HERO ---------- */
.hero{ position:relative; min-height:100svh; overflow:hidden; isolation:isolate; color:var(--mist); }
.hero__bg{ position:absolute; inset:0; z-index:1; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; object-position:70% 40%; transform-origin:center; }
.hero__wash{ position:absolute; inset:0; z-index:2; pointer-events:none;
  background:
    linear-gradient(270deg, rgba(14,24,28,.86) 0%, rgba(14,24,28,.6) 34%, rgba(14,24,28,.16) 66%, rgba(14,24,28,0) 100%),
    linear-gradient(12deg, rgba(14,24,28,.82) 0%, rgba(14,24,28,.34) 40%, rgba(14,24,28,.04) 70%),
    linear-gradient(180deg, rgba(14,24,28,.5) 0%, transparent 26%); }
.hero__stage{ position:relative; z-index:4; min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-start; padding-block-end:clamp(120px,16vh,180px); }
.hero__kick{ font-family:var(--display); font-weight:900; font-size:clamp(1.15rem,2vw,1.7rem); letter-spacing:.02em; line-height:1.25;
  color:var(--gold2); margin-bottom:clamp(.9rem,1.8vw,1.4rem); opacity:0; transform:translateY(18px); }
.hero__kick .sep{ color:var(--mint); margin-inline:.35em; }
.hero__title{ font-family:var(--display); font-weight:900; font-size:clamp(3rem,9vw,7.2rem); line-height:.92; letter-spacing:-.02em; color:#FAF7EE; }
.hero__sub{ margin-top:clamp(1.1rem,2.2vw,1.7rem); max-width:46ch; font-size:clamp(1.05rem,1.6vw,1.3rem); line-height:1.6; color:rgba(241,236,224,.9); opacity:0; transform:translateY(18px); }
.hero__cta{ display:flex; align-items:center; gap:1.2rem 1.6rem; flex-wrap:wrap; margin-top:clamp(1.6rem,3vw,2.4rem); opacity:0; transform:translateY(18px); }
.hero__ctanote{ font-size:.98rem; color:rgba(241,236,224,.8); }
.hero__foot{ position:absolute; z-index:4; inset-block-end:clamp(26px,4vh,44px); inset-inline:0; display:flex; align-items:center; justify-content:center;
  gap:clamp(.9rem,2vw,1.6rem); flex-wrap:wrap; padding-inline:var(--pad); color:rgba(241,236,224,.94); }
.hf{ font-size:clamp(1rem,1.35vw,1.2rem); letter-spacing:.05em; }
.hf b{ font-weight:800; color:var(--gold2); }
.hdiv{ display:inline-block; flex:none; background:rgba(203,170,93,.65); }
.hdiv--dot{ width:7px; height:7px; border-radius:50%; }
.br-d{ display:block; }
@media (max-width:720px){
  .hero__stage{ align-items:stretch; }
  .hero__bg img{ object-position:50% 30%; }
  .hero__title{ font-size:clamp(2.6rem,12.5vw,4rem); }
  .hero__kick{ font-size:clamp(1.05rem,4.6vw,1.35rem); }
  .br-d{ display:none; }
}
@media (min-width:721px) and (max-height:880px){
  .hero__stage{ padding-block-end:clamp(104px,13vh,150px); }
  .hero__title{ font-size:clamp(2.8rem,7vw,5.6rem); }
  .hero__sub{ margin-top:clamp(.9rem,1.6vw,1.3rem); }
  .hero__cta{ margin-top:clamp(1.1rem,2vw,1.7rem); }
}


.hero__bg img{ object-position:30% 35%; }
/* the trace: a continuous glucose line drawn once, low and quiet, behind the copy */
.hero__curve{ position:absolute; z-index:3; inset-inline:0; inset-block-end:0; width:100%; height:clamp(56px,9vh,96px); pointer-events:none; opacity:.6; }
.hero__curve path{ fill:none; stroke:var(--mint); stroke-width:2.4; vector-effect:non-scaling-stroke;
  stroke-dasharray:1; stroke-dashoffset:1; animation:trace 3.2s 1.1s var(--ease) forwards; }
@keyframes trace{ to{ stroke-dashoffset:0; } }
@media (prefers-reduced-motion:reduce){ .hero__curve path{ animation:none; stroke-dashoffset:0; } }
@media (max-width:720px){ .hero__bg img{ object-position:40% 30%; } .hero__curve{ opacity:.45; height:48px; } }

/* ---------- 01 · WHY ---------- */
.why{ padding-block:clamp(90px,12vw,170px) clamp(40px,6vw,80px); }
.why__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(.9rem,1.8vw,1.5rem); margin-top:clamp(1.8rem,3.6vw,3rem); }
.wcard{ background:var(--sand); border-radius:var(--r); padding:clamp(1.4rem,2.4vw,2.1rem); display:flex; flex-direction:column; gap:.55rem; }
.wcard__n{ font-family:var(--sans); font-weight:800; font-size:clamp(1rem,1.3vw,1.15rem); letter-spacing:.06em; color:var(--sage); }
.wcard h3{ font-family:var(--display); font-weight:800; font-size:clamp(1.2rem,1.8vw,1.5rem); letter-spacing:-.01em; line-height:1.2; }
.wcard p{ font-size:clamp(1rem,1.25vw,1.1rem); line-height:1.6; color:var(--ink2); }
@media (max-width:900px){ .why__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .why__grid{ grid-template-columns:1fr; } }

/* ---------- 02 · THE COURSE ---------- */
.course{ padding-block:clamp(70px,9vw,130px) clamp(40px,6vw,80px); }
.course__grid{ display:grid; grid-template-columns:1.25fr .75fr; gap:clamp(2rem,6vw,5.5rem); align-items:center; }
.course__txt > p{ font-size:clamp(1.05rem,1.5vw,1.22rem); line-height:1.7; color:var(--ink2); max-width:56ch; margin-bottom:1.1rem; }
.course__txt .sec-head{ margin-bottom:clamp(1.4rem,2.6vw,2rem); }
.callout{ margin:clamp(1.4rem,2.8vw,2.2rem) 0 0; padding-inline-start:clamp(1rem,2vw,1.6rem); border-inline-start:3px solid var(--mint); }
.callout p{ font-family:var(--display); font-weight:800; font-size:clamp(1.35rem,2.4vw,2rem); line-height:1.25; letter-spacing:-.01em; color:var(--ink); margin-bottom:.7rem; }
.callout span{ display:block; font-size:clamp(1rem,1.3vw,1.12rem); line-height:1.6; color:var(--ink2); max-width:52ch; }
.course__phone{ justify-self:center; width:min(100%,300px); border-radius:34px; overflow:hidden; border:8px solid var(--dark);
  box-shadow:0 30px 60px rgba(29,45,50,.25); background:#fff; }
.course__phone img{ width:100%; display:block; }
@media (max-width:820px){ .course__grid{ grid-template-columns:1fr; } .course__phone{ width:min(80%,260px); } }

/* ---------- 03 · WHAT YOU LEARN ---------- */
.learn{ padding-block:clamp(70px,9vw,130px) clamp(150px,18vw,250px); }
.learn__list{ list-style:none; display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1.4rem,3vw,2.6rem) clamp(2rem,5vw,4.5rem); margin-top:clamp(1.8rem,3.6vw,3rem);
  border-block-start:1px solid rgba(27,26,22,.14); padding-block-start:clamp(1.6rem,3vw,2.6rem); }
.learn__list li{ display:block; }
.learn__n{ flex:none; font-family:var(--sans); font-weight:800; font-size:clamp(1rem,1.3vw,1.15rem); letter-spacing:.06em; color:var(--sage); padding-block-start:.28em; }
.learn h3{ font-family:var(--display); font-weight:800; font-size:clamp(1.2rem,1.8vw,1.5rem); letter-spacing:-.01em; margin-bottom:.45rem; }
.learn p{ font-size:clamp(1rem,1.3vw,1.1rem); line-height:1.6; color:var(--ink2); max-width:44ch; }
@media (max-width:820px){ .learn__list{ grid-template-columns:1fr; } }

/* ---------- 04 · HOW IT WORKS (dark slab) ---------- */
.how .sec-head{ margin-bottom:clamp(2rem,4vw,3.4rem); }
.steps{ list-style:none; display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2vw,1.8rem); }
.step{ background:var(--dark2); border-radius:var(--r); overflow:hidden; display:flex; flex-direction:column; }
.step figure{ height:clamp(200px,20vw,280px); overflow:hidden; }
.step img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.step:hover img{ transform:scale(1.05); }
.step__n{ font-family:var(--sans); font-weight:800; font-size:clamp(1rem,1.3vw,1.15rem); letter-spacing:.06em; color:var(--mint); padding:1.2rem 1.3rem 0; }
.step h3{ font-family:var(--display); font-weight:800; font-size:clamp(1.15rem,1.6vw,1.4rem); letter-spacing:-.01em; padding:1.2rem 1.3rem .5rem; color:#FAF7EE; }
.step p{ padding:0 1.3rem 1.5rem; font-size:clamp(1rem,1.2vw,1.08rem); line-height:1.6; color:var(--mist2); }
.how__note{ margin-top:clamp(1.6rem,3vw,2.4rem); font-family:var(--display); font-weight:800; font-size:clamp(1.15rem,2vw,1.6rem); color:#FAF7EE; max-width:40ch; }
@media (max-width:820px){ .steps{ grid-template-columns:1fr; } }

/* ---------- 03 · MAYA ---------- */
.host{ padding-block:clamp(150px,18vw,250px) clamp(40px,6vw,80px); }
.host__grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.host__photo img{ width:min(100%,440px); border-radius:var(--r); margin-inline:auto; }
.host__txt p{ font-size:clamp(1.02rem,1.5vw,1.2rem); line-height:1.7; color:var(--ink2); max-width:52ch; margin-bottom:1.1rem; }
.host__txt .sec-head{ margin-bottom:clamp(1.4rem,2.6vw,2rem); }
.host__more a{ color:var(--dark); font-weight:700; text-decoration:underline; text-underline-offset:4px; text-decoration-color:var(--violet); }
@media (max-width:820px){ .host__grid{ grid-template-columns:1fr; } .host__photo img{ width:min(100%,340px); } }


/* ---------- 06 · VOICES ---------- */
.voices{ padding-block:clamp(70px,9vw,130px) clamp(40px,6vw,80px); }
.voices__img{ margin-top:clamp(1.6rem,3.2vw,2.6rem); border-radius:var(--r); overflow:hidden; }
.voices__img img{ width:100%; display:block; }
.quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(.9rem,1.8vw,1.5rem); margin-top:clamp(1.8rem,3.6vw,3rem); padding:clamp(1rem,2vw,1.6rem); border-radius:var(--r); }
.quote{ background:var(--sand); border-radius:var(--r); padding:clamp(1.3rem,2.2vw,1.9rem); display:flex; flex-direction:column; gap:1rem; margin:0; }
.quote p{ font-size:clamp(1.05rem,1.35vw,1.18rem); line-height:1.6; color:var(--ink); }
.quote footer{ margin-top:auto; font-weight:700; font-size:clamp(.95rem,1.15vw,1.05rem); color:var(--ink2); }

@media (max-width:900px){ .quotes{ grid-template-columns:1fr; } }

/* ---------- 07 · FAQ ---------- */
.faq{ padding-block:clamp(70px,9vw,130px) clamp(150px,18vw,250px); }
.faq__list{ margin-top:clamp(1.6rem,3.2vw,2.6rem); border-block-start:1px solid rgba(27,26,22,.16); max-width:62rem; }
.faq details{ border-block-end:1px solid rgba(27,26,22,.16); }
.faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem;
  padding:clamp(1rem,1.8vw,1.35rem) 0; font-weight:700; font-size:clamp(1.08rem,1.5vw,1.25rem); color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; flex:none; font-size:1.5em; line-height:1; color:var(--sage); transition:transform .3s var(--ease); }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq summary:focus-visible{ outline:2px solid var(--violet); outline-offset:4px; }
.faq details p{ padding:0 0 clamp(1.1rem,2vw,1.5rem); font-size:clamp(1.02rem,1.35vw,1.15rem); line-height:1.7; color:var(--ink2); max-width:60ch; }

/* ---------- 08 · JOIN (dark slab) ---------- */
.buy{ border:1px solid rgba(203,170,93,.35); border-radius:var(--r); padding:clamp(1.8rem,4vw,3.2rem); max-width:640px; margin-inline:auto;
  display:flex; flex-direction:column; align-items:center; gap:clamp(1.1rem,2.2vw,1.6rem); text-align:center;
  background:radial-gradient(120% 160% at 50% 0%, rgba(160,206,111,.10), transparent 55%); }
.buy__price{ display:flex; flex-direction:column; gap:.4rem; padding:.6rem 1.2rem; border-radius:12px; }
.buy__cap{ font-weight:700; letter-spacing:.06em; color:var(--mint); font-size:clamp(.98rem,1.2vw,1.08rem); }
.buy__v{ font-size:clamp(2.2rem,5vw,3.4rem); color:#FAF7EE; }
.buy__list{ list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:.55rem 1.4rem; text-align:start; }
.buy__list li{ position:relative; padding-inline-start:1.3em; font-size:clamp(1rem,1.25vw,1.1rem); color:var(--mist); }
.buy__list li::before{ content:""; position:absolute; inset-inline-start:0; top:.55em; width:8px; height:8px; border-radius:50%; background:var(--mint); }
.btn--xl{ font-size:clamp(1.1rem,1.6vw,1.3rem); padding:1.05em 2.2em; }
.buy__note{ font-size:clamp(.98rem,1.2vw,1.08rem); line-height:1.6; color:var(--mist2); max-width:46ch; }
@media (max-width:560px){ .buy__list{ grid-template-columns:1fr; } }

/* ---------- placeholders: material that has not arrived yet ----------
   Marked on the page itself so nobody approves a stand-in by mistake; each
   one disappears when the real material replaces it. */
.ph{ position:relative; outline:2px dashed rgba(170,142,72,.8); outline-offset:6px; }
.ph::after{ content:attr(data-ph); position:absolute; z-index:5; inset-block-start:-14px; inset-inline-start:14px;
  background:var(--violet); color:#1b1708; font:700 .82rem/1.3 var(--sans); padding:.25em .7em; border-radius:6px; max-width:calc(100% - 28px); }
.gal-row.ph{ outline-offset:-2px; }
.gal-row.ph::after{ inset-block-start:10px; }

/* footer + junctions */
.foot{ --slab-bg: var(--dark); }
.slab--flush{ padding-block-start:0; }
.foot__curve{ display:none; }
.foot{ margin-top:0; }

.num{ direction:ltr; unicode-bidi:isolate; }
.val--data{ font-family:var(--sans); font-weight:800; letter-spacing:0; }
/* the button tag sits above the button, never on its label */
.buy__go.ph{ margin-top:1.4rem; }
.buy__go.ph::after{ inset-block-start:auto; inset-block-end:calc(100% + 12px); inset-inline-start:50%; transform:translateX(50%); white-space:nowrap; }

/* the hero photo is tall: hold the frame from her face down to the sensor */
.hero__bg img{ object-position:50% 18%; }
@media (max-width:720px){ .hero__bg img{ object-position:50% 22%; } }
/* mobile facts: a clean two-by-two, no separator left hanging at a line end */
@media (max-width:720px){
  .hero__foot{ display:grid; grid-template-columns:auto auto; justify-content:center; gap:.5rem 1.4rem; text-align:center; }
  .hero__foot .hdiv{ display:none; }
}
.foot__big{ text-wrap:balance; }
.nw{ white-space:nowrap; }
/* desktop: the photo is tall, so it gets its own half of the frame (face down to
   the sensor) and dissolves into the dark under the copy */
@media (min-width:721px){
  .hero__bg{ background:#0E181C; }
  .hero__bg img{ position:absolute; inset-block:0; inset-inline-end:0; width:50%; height:100%; object-fit:cover; object-position:50% 34%;
    -webkit-mask-image:linear-gradient(to right, #000 70%, transparent 100%); mask-image:linear-gradient(to right, #000 70%, transparent 100%); }
}
