/* דף הרשמה למגנט לידים, בשפה של דף עשרת הדיברות (10dibrot.emilylev.com, 23 בנובמבר 2026).
   נוצר על ידי הסקיל magnet-signup-page. לא עורכים כאן: הבנייה הבאה דורסת.
   הגוונים מ-עסקי/נכסים/גווני-המדריכים.md */

:root {
  --offwhite: #fffaf5;
  --gold: #cfaf4a;
  --gold-soft: #f4ead0;
  --gold-text: #8a6d14;
  --ink: #222222;
  --ink-soft: #2b2420;
  --red: #f00420;
  --red-dark: #c8031a;
  --blush: #fcefeb;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Assistant', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--offwhite) url('images/paper.jpg') top center / 900px auto repeat;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 480px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the gold line with three hearts, like in the guide */
.divider { display: block; width: 220px; height: 16px; margin: 0 auto; }

/* ---------- hero ---------- */
.hero { padding: 14px 20px 10px; text-align: center; }
.hero h1 {
  font-family: 'Fredoka', 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  margin: 14px 0 12px;
  color: var(--ink);
}
.hero h1 span { color: var(--red); }
/* <קטן>...</קטן> בקופי = שורה קטנה יותר בכותרת, כדי שתיכנס בשורה אחת בטלפון (אהבה עצמית, 24 בנובמבר) */
h1 small { font-size: .78em; }
/* <קו>...</קו> בקופי = קו תחתון (אהבה עצמית, 24 בנובמבר) */
u { text-decoration-thickness: .08em; text-underline-offset: .18em; }
.guide-name {
  display: inline-block;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 4px 14px;
  margin: 0 0 8px;
  max-width: 100%;
}
.sub {
  font-family: 'Varela Round', 'Assistant', sans-serif;
  font-size: 18px;
  margin: 0;
  color: var(--ink-soft);
}

.hero-photo { position: relative; margin: 6px auto 0; height: clamp(170px, calc(100svh - 470px), 330px); }
.hero-photo img {
  height: 100%;
  width: auto;
  max-width: none;
  margin: 0 auto;
}

/* ---------- the form card ---------- */
.signup {
  position: relative;
  z-index: 2;
  background: rgba(255, 250, 245, .97);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  box-shadow: 0 6px 22px rgba(43, 36, 32, .10);
  text-align: right;
}
.hero .signup { margin-top: -22px; }
.signup .lead {
  font-family: 'Varela Round', 'Assistant', sans-serif;
  font-size: 15.5px;
  margin: 0 0 10px;
  text-align: center;
  color: var(--ink-soft);
  text-wrap: balance;
}
.signup input[type="email"],
.signup input.name-field {
  width: 100%;
  font: inherit;
  font-size: 18px;
  padding: 13px 14px;
  border: 1.5px solid #b8a273;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  direction: ltr;
  text-align: right;
}
.signup input.name-field::placeholder,
.signup input[type="email"]::placeholder { color: #9a9088; direction: rtl; }
.signup input.name-field:focus,
.signup input[type="email"]:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(207, 175, 74, .45); }
.signup button[type="submit"] {
  width: 100%;
  min-height: 56px;
  margin-top: 10px;
  font: inherit;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--red-dark);
}
.signup button[type="submit"]:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-dark); }
.signup button[type="submit"][disabled] { opacity: .7; cursor: default; }
.signup button[type="submit"]:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  padding: 8px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent span { text-wrap: pretty; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.field-error { display: none; margin: 6px 2px 0; font-size: 15px; color: var(--red-dark); font-weight: 600; }
.field-error.show { display: block; }
.field-error a { color: inherit; font-weight: 800; }
.field-hint { display: none; margin: 6px 2px 0; }
.field-hint.show { display: block; }
.hint-fix {
  font: inherit; font-size: 15px; font-weight: 700; color: var(--gold-text);
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; direction: rtl;
}
.hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; direction: ltr; }

/* ---------- 19:00 ---------- */
.evening {
  margin: 34px 0 0;
  padding: 30px 20px 28px;
  background: rgba(252, 239, 235, .92);
  border-top: 1px solid rgba(207, 175, 74, .55);
  border-bottom: 1px solid rgba(207, 175, 74, .55);
  text-align: center;
  font-family: 'Varela Round', 'Assistant', sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.evening .time { font-family: 'Fredoka', 'Assistant', sans-serif; font-weight: 700; font-size: 24px; color: var(--red); }
.evening p { margin: 0; }
.evening p + p { margin-top: 6px; }
.evening .alone {
  text-wrap: balance; display: block; margin-top: 8px; font-weight: 700; color: var(--ink); font-size: 20px; }
.because {
  text-wrap: balance;
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.4;
  margin: 28px auto 0;
  max-width: 400px;
}

/* ---------- about ---------- */
.about {
  margin: 30px 0 0;
  text-align: center;
  font-family: 'Varela Round', 'Assistant', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about b { font-family: 'Assistant', sans-serif; font-weight: 800; color: var(--ink); }
.about p { margin: 18px 0; }
/* a red title line (### in the text), like "גם אני הייתי שם." */
.about strong { display: block; color: var(--red); font-family: 'Fredoka', 'Assistant', sans-serif; font-weight: 700; font-size: 22px; }
.about strong.multi { line-height: 1.4; }

/* ---------- inside the guide ---------- */
.inside { margin: 34px 0 0; }
.inside h2 {
  font-family: 'Fredoka', 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--red);
  text-align: center;
  margin: 0 0 14px;
}
.inside ul { list-style: none; margin: 0; padding: 0; }
.inside li {
  position: relative;
  padding: 10px 34px 10px 0;
  border-bottom: 1px dashed rgba(207, 175, 74, .6);
  font-size: 19px;
  line-height: 1.45;
}
.inside li svg { position: absolute; right: 2px; top: 15px; width: 20px; height: 18px; fill: var(--gold); }
.inside li.secret {
  margin-top: 14px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--gold-soft);
  padding: 14px 44px 14px 14px;
  font-weight: 700;
}
.inside li.secret svg { right: 14px; top: 19px; fill: var(--red); }

.peek { position: relative; height: 300px; margin: 30px auto 6px; max-width: 300px; }
.peek img {
  position: absolute;
  top: 10px;
  width: 150px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(43, 36, 32, .18);
  border: 1px solid rgba(207, 175, 74, .7);
}
.peek .p1 { left: 50%; transform: translateX(-50%); z-index: 3; top: 0; }
.peek .p2 { right: 0; transform: rotate(7deg); z-index: 2; }
.peek .p3 { left: 0; transform: rotate(-7deg); z-index: 1; }

/* **...** מתחת לכותרת = אותו כתב ואותו גודל, מודגש. ל-Varela Round אין משקל מודגש, אז הקו מעובה (אהבה עצמית, 25 בנובמבר) */
.sub b { font-weight: 400; -webkit-text-stroke: .7px currentColor; }

/* <אדום>...</אדום> בקופי = מילים באדום (אהבה עצמית, 25 בנובמבר) */
.red { color: var(--red); }

/* [אייפון] בקופי: כל המדריך באייפון באלכסון, גולל לבד מלמעלה למטה וחוזר (אהבה עצמית, 25 בנובמבר) */
.phone-peek { margin: 36px 0 0; text-align: center; }
.phone-peek h2 {
  font-family: 'Assistant', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}
.phone-stage { perspective: 1300px; padding: 34px 0 44px; }
.phone {
  --screen-h: 420px;
  position: relative;
  width: 204px;
  height: 440px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 40px;
  background: #1c1c1e;
  box-shadow: inset 0 0 0 2px #48484a, inset 0 0 0 4px #1c1c1e, -26px 34px 50px rgba(43, 36, 32, .30);
  transform: rotateY(-16deg) rotateX(8deg) rotate(-9deg);
}
.phone .island {
  position: absolute; z-index: 2; top: 18px; left: 50%;
  width: 58px; height: 17px; margin-left: -29px;
  border-radius: 10px; background: #000;
}
.phone .screen { position: relative; height: var(--screen-h); border-radius: 31px; overflow: hidden; background: #fffaf5; }
.phone .scroll { animation: guide-scroll calc(var(--pages) * 3.2s) ease-in-out infinite; will-change: transform; }
.phone .scroll img { width: 100%; height: auto; }
@keyframes guide-scroll {
  0%, 5% { transform: translateY(0); }
  88%, 93% { transform: translateY(calc(-100% + var(--screen-h))); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .phone .scroll { animation: none; }
}

/* her name goes above the email, written right to left */
.signup input.name-field { direction: rtl; margin-bottom: 10px; }

/* one real client message (anonymous), above the second form */
.proof { margin: 30px auto 0; max-width: 330px; }
.proof img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }

.second-form { margin: 26px 0 0; }

/* ---------- signature ---------- */
.signature {
  margin: 34px 0 0;
  padding-bottom: 36px;
  text-align: center;
  font-family: 'Varela Round', 'Assistant', sans-serif;
  font-size: 20px;
  line-height: 1.6;
}
.signature img {
  width: 130px;
  height: 130px;
  margin: 0 auto 10px;
}
.signature .name { font-family: 'Fredoka', 'Assistant', sans-serif; font-weight: 700; font-size: 26px; color: var(--ink); }
.signature .heart { width: 26px; height: 24px; fill: var(--red); margin: 4px auto 0; display: block; }

footer {
  text-align: center;
  font-size: 14px;
  color: #6e655d;
  padding: 20px 16px 28px;
  border-top: 1px solid rgba(207, 175, 74, .45);
}
footer a { color: inherit; }
footer .details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
}
footer .details img { height: 24px; width: auto; }
footer .details .one-line { display: none; }
@media (min-width: 640px) {
  footer .details .one-line { display: block; }
  footer .details .two-lines { display: none; }
}
footer .details a { display: block; padding: 10px 6px; margin: -10px 0; }
footer .legal { margin: 14px 0 0; font-size: 13px; }
footer .legal a { display: inline-block; padding: 8px 6px; }

@media (min-width: 900px) {
  body { font-size: 19px; background-size: cover; background-attachment: fixed; }
  .hero h1 { font-size: 40px; }
}

/* סימונים בסיפור (אהבה עצמית, 25 בנובמבר): <רצועה-ורודה>, <זהב>, <תיבה> */
.story-band { margin: 30px 0 0; }
.story-band .wrap > p:first-child { margin-top: 0; }
.story-band .wrap > p:last-child { margin-bottom: 0; }
.story-band p + p { margin-top: 18px; }
.about p.gold { color: #b8932a; font-weight: 700; }
.quote-box {
  margin: 22px 0;
  padding: 6px 8px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: #fff6f2;
}
