/* ==========================================================================
   רגע קטן שאני מעניקה לעצמי  |  /rega
   A page that asks someone in her seventies to do three things on a phone:
   tap an idea, see it land in her letter, send it. Everything here serves
   that, so targets are large, the chosen state is impossible to miss, and
   nothing important depends on hover.

   styles.css loads first and supplies the palette, the two fonts, .shell,
   .eyebrow and the .btn family. Only what this page adds lives here.
   ========================================================================== */

.rega-page{background:var(--cream)}

/* ---------- header ---------- */
.rega-header{
  background:var(--cream);border-block-end:1px solid var(--rule);
  padding-block:.9rem;
}
.rega-header .brand{
  display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--navy);
  inline-size:min(var(--shell),100% - 2.5rem);margin-inline:auto;
}
.rega-header .brand img{border-radius:50%}

/* ---------- hero ---------- */
.rega-hero{padding-block:clamp(1.4rem,4vw,2.8rem) 0;text-align:center}
.rega-title{
  font-family:var(--font-display);font-weight:700;color:var(--navy);
  font-size:var(--step-4);line-height:1.18;margin:.5rem 0 .8rem;text-wrap:balance;
}
.rega-lead{
  font-size:var(--step-1);color:var(--navy-soft);line-height:1.65;
  margin:0 auto;max-inline-size:46ch;text-wrap:pretty;
}
.rega-figure{margin:clamp(1.4rem,4vw,2.2rem) auto 0;max-inline-size:430px}
.rega-figure img{
  inline-size:100%;block-size:auto;display:block;
  border-radius:var(--radius-lg);box-shadow:var(--shadow);
}

/* ---------- the invitation ---------- */
.rega-intro{padding-block:clamp(1.8rem,5vw,3rem) 0;text-align:center}
.rega-intro p{
  font-size:var(--step-0);color:var(--navy-soft);line-height:1.7;
  margin:0 auto;max-inline-size:48ch;
}
.rega-questions{
  list-style:none;margin:1.5rem auto;padding:0;max-inline-size:34ch;
  display:grid;gap:.45rem;
}
.rega-questions li{
  font-family:var(--font-display);font-weight:700;color:var(--navy);
  font-size:var(--step-2);line-height:1.4;
}
.rega-soft{color:var(--navy-soft);opacity:.85}

/* ---------- how it works ---------- */
.rega-steps{padding-block:clamp(1.8rem,5vw,2.8rem) 0}
.steps{
  list-style:none;margin:0;padding:0;
  display:grid;gap:.8rem;grid-template-columns:repeat(3,minmax(0,1fr));
}
.step{
  display:flex;align-items:flex-start;gap:.7rem;
  background:var(--white);border:1px solid var(--rule);
  border-radius:var(--radius);padding:1rem .95rem;
}
.step-num{
  flex:none;inline-size:34px;block-size:34px;border-radius:50%;
  background:var(--gold);color:var(--navy);
  font-family:var(--font-body);font-weight:700;font-size:1.1rem;
  display:flex;align-items:center;justify-content:center;
}
.step-text{font-size:.99rem;line-height:1.45;color:var(--navy-soft)}
.step-text strong{color:var(--navy)}
@media (max-width:620px){
  .steps{grid-template-columns:1fr;gap:.6rem}
  .step{padding:.8rem .9rem;align-items:center}
}

/* ---------- ideas ---------- */
.rega-ideas{padding-block:clamp(2rem,5vw,3.2rem) 0}
.rega-ideas h2,
.rega-letter h2,
.rega-groups h2{
  font-family:var(--font-display);font-weight:700;color:var(--navy);
  font-size:var(--step-3);line-height:1.25;margin:0 0 .7rem;text-align:center;
}

/* The one instruction on the page. It has to read as an instruction, not as
   another paragraph, so it gets its own card and the hand icon. */
.rega-howto{
  display:flex;align-items:flex-start;gap:.8rem;
  background:var(--sand);border:1px solid var(--rule);
  border-radius:var(--radius);padding:.95rem 1.1rem;
  margin:0 0 1.4rem;font-size:1.02rem;line-height:1.55;color:var(--navy-soft);
}
.rega-howto strong{color:var(--navy)}
.rega-howto .tap{flex:none;inline-size:28px;block-size:28px;color:var(--gold-dark)}
.rega-howto .tap svg{inline-size:100%;block-size:100%;display:block}

.idea-grid{display:grid;gap:.7rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:700px){.idea-grid{grid-template-columns:1fr}}

.idea{
  position:relative;
  display:flex;align-items:flex-start;gap:.8rem;
  inline-size:100%;text-align:start;
  background:var(--white);color:var(--navy);
  border:2px solid var(--rule);border-radius:var(--radius);
  padding:1rem 1.05rem;padding-inline-end:2.9rem;
  font-family:var(--font-body);font-size:1.04rem;line-height:1.5;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .12s ease,box-shadow .18s ease;
}
.idea:hover,.idea:focus-visible{
  border-color:var(--gold);background:#FFFDF8;transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(7,36,72,.08);
}
.idea:active{transform:translateY(0)}
.idea-icon{flex:none;font-size:1.5rem;line-height:1.2}
.idea-text{flex:1 1 auto}

/* The chosen one. Colour alone is not enough for the audience, so it also
   gains a ring, a tick and a weight change. */
.idea-mark{
  position:absolute;inset-block-start:.9rem;inset-inline-end:.9rem;
  inline-size:26px;block-size:26px;border-radius:50%;
  background:var(--gold);color:var(--navy);
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:scale(.5);
  transition:opacity .18s ease,transform .18s ease;
}
.idea-mark svg{inline-size:15px;block-size:15px}
.idea.is-chosen{
  border-color:var(--gold);background:#FFF8EA;
  box-shadow:0 0 0 3px rgba(199,154,74,.22);
}
.idea.is-chosen .idea-text{font-weight:700}
.idea.is-chosen .idea-mark{opacity:1;transform:scale(1)}

.rega-own{
  margin:1.3rem 0 0;text-align:center;
  font-size:1.02rem;color:var(--navy-soft);
}
.linkish{
  font:inherit;font-weight:700;color:var(--gold-dark);
  background:none;border:0;padding:.2rem .1rem;cursor:pointer;
  text-decoration:underline;text-underline-offset:3px;
}
.linkish:hover,.linkish:focus-visible{color:var(--navy)}

/* ---------- the letter ---------- */
.rega-letter{padding-block:clamp(2.2rem,6vw,3.4rem) 0}

.letter-card{
  background:var(--white);border:1px solid #E6DCC6;
  border-radius:var(--radius-lg);box-shadow:var(--shadow);
  padding:clamp(1.5rem,4vw,2.4rem) clamp(1.2rem,4vw,2.2rem);
  text-align:center;margin-block-end:1.4rem;
}
.letter-flourish{display:block;inline-size:120px;margin:0 auto 1rem;color:var(--gold)}
.letter-flourish svg{inline-size:100%;block-size:auto;display:block}
.letter-open{
  margin:0;font-size:1.02rem;color:var(--navy-soft);
  letter-spacing:.01em;
}
.letter-verb{
  margin:.35rem 0 .7rem;font-size:1.02rem;color:var(--navy-soft);
}
/* The line that actually changes. Big, display face, so the moment a woman
   taps an idea she can see her own words land here from across the room. */
.letter-choice{
  margin:0;font-family:var(--font-display);font-weight:700;
  font-size:var(--step-3);line-height:1.35;color:var(--navy);
  text-wrap:pretty;min-block-size:2.6em;
  display:flex;align-items:center;justify-content:center;
}
.letter-choice.is-empty{
  color:var(--navy-soft);opacity:.42;font-weight:400;
  font-family:var(--font-body);font-size:var(--step-1);
}

.letter-label{
  display:block;font-size:1.02rem;color:var(--navy-soft);
  margin-block-end:.45rem;
}
#choice{
  font:inherit;font-size:1.06rem;line-height:1.6;
  display:block;inline-size:100%;
  padding:.85rem .95rem;
  color:var(--navy);background:var(--white);
  border:2px solid var(--rule);border-radius:var(--radius);
  resize:vertical;min-block-size:96px;
  transition:border-color .18s ease,box-shadow .18s ease;
}
#choice:focus{
  outline:none;border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(199,154,74,.2);
}
#choice.is-asking{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(199,154,74,.28);
}

.letter-buttons{display:grid;gap:.7rem;margin-block-start:1.2rem}
@media (min-width:620px){.letter-buttons{grid-template-columns:1fr 1fr}}
.letter-buttons .btn{display:flex;align-items:center;justify-content:center;gap:.6rem}
.btn-icon{flex:none;inline-size:24px;block-size:24px}
.btn-icon svg{inline-size:100%;block-size:100%;display:block}

.letter-hint{
  margin:.9rem 0 0;text-align:center;
  font-size:.97rem;line-height:1.55;color:var(--navy-soft);opacity:.85;
}
/* Sending to a group only works if she is in it, and the page is the last
   place that can tell her so before WhatsApp does. */
.letter-note{
  margin:.45rem 0 0;text-align:center;
  font-size:.95rem;line-height:1.55;color:var(--navy-soft);opacity:.85;
}
.letter-note a{color:var(--gold-dark);font-weight:700}

.letter-status{
  margin:.6rem 0 0;min-block-size:1.6rem;text-align:center;
  font-size:1rem;font-weight:700;color:var(--gold-dark);
}

/* ---------- the groups ---------- */
.rega-groups{padding-block:clamp(2.2rem,6vw,3.4rem) 0;text-align:center}
.rega-groups p{
  font-size:var(--step-0);color:var(--navy-soft);line-height:1.65;
  margin:0 auto 1.3rem;max-inline-size:44ch;
}
.group-links{display:grid;gap:.7rem}
@media (min-width:620px){.group-links{grid-template-columns:1fr 1fr}}

/* ---------- pass it on ---------- */
.rega-pass{padding-block:clamp(2.2rem,6vw,3.4rem) clamp(2.6rem,7vw,4.2rem);text-align:center}
.rega-hosts{margin:0 0 1.8rem}
.rega-hosts img{
  inline-size:100%;block-size:auto;display:block;
  border-radius:var(--radius-lg);box-shadow:var(--shadow);
}
.rega-pass p{
  font-size:var(--step-0);color:var(--navy-soft);line-height:1.7;
  margin:0 auto 1rem;max-inline-size:48ch;
}
.rega-closing{
  font-family:var(--font-display);font-weight:700;
  color:var(--navy);font-size:var(--step-2);line-height:1.4;
}
.rega-savta-link{margin-block-start:1.6rem;font-size:1.02rem}
.rega-savta-link a{color:var(--gold-dark);font-weight:700}

/* ---------- footer ---------- */
.rega-footer{
  background:var(--navy);color:var(--cream-on-navy);
  padding-block:1.6rem;text-align:center;
}
.rega-footer p{margin:0;font-size:.98rem;line-height:1.6}
.rega-footer a{color:var(--gold-light)}

/* The off-screen pad the copy fallback writes into. It lives here and not in
   a style attribute because the site's CSP forbids inline styles. */
.visually-hidden-copy{
  position:fixed;inset-block-start:0;inset-inline-start:0;
  inline-size:1px;block-size:1px;padding:0;border:0;
  opacity:0;pointer-events:none;
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:reduce){
  .idea,.idea-mark,#choice{transition:none}
  .idea:hover,.idea:focus-visible{transform:none}
}
