/* דף ההרשמה לעשרת הדיברות. השפה העיצובית של המדריך: נייר שמנת, זהב, אדום, Varela Round לפנייה האישית.
   הגוונים מ-עסקי/נכסים/גווני-המדריכים.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); display: block; }
.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"] {
  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[type="email"]::placeholder { color: #9a9088; direction: rtl; }
.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 .tasks { margin: 6px 0; font-weight: 400; }
.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 .been-there { margin-top: 18px; }
.about .been-there strong { display: block; color: var(--red); font-family: 'Fredoka', 'Assistant', sans-serif; font-weight: 700; font-size: 22px; }
/* the hope line, right after the crying, bold like "גם אני הייתי שם." */
.about .hope { margin-top: 18px; }
.about .hope strong { display: block; color: var(--red); font-family: 'Fredoka', 'Assistant', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.4; }
.about .wrote { margin-top: 18px; }

/* ---------- 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; }

/* one real client message (anonymous), above the second form */
.proof { margin: 30px auto 0; max-width: 330px; }
.proof .bubble {
  margin: 0;
  background: #dcf8c6;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.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; }

/* ---------- thank you page ---------- */
/* העיצוב של דף התודה עבר ל-todah/todah.css (19 בנובמבר), כדי ששתי השיחות לא יערכו את אותו קובץ */

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