:root {
  --bg: #f4efe4; --card: #fffdf8; --ink: #1d2733; --muted: #5b6573; --brand: #1f4e79; --brand-ink: #fff; --line: #e2d9c6;
  --gold: #c9a227; --gold-glow: rgba(255, 196, 87, .17);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161b22; --card: #1f2630; --ink: #e8e3d8; --muted: #a9b1bc; --brand: #6ea8dc; --brand-ink: #0d1520; --line: #2e3742; --gold: #d9b44a; --gold-glow: rgba(255, 196, 87, .07); }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 18px/1.75 Heebo, Arial, sans-serif; background-image: radial-gradient(760px 380px at 100% 0, var(--gold-glow), transparent 70%); background-repeat: no-repeat; min-height: 100vh; }
main { max-width: 620px; margin: 0 auto; padding: 28px 16px 56px; }
h1 { color: var(--brand); font-size: 1.6rem; margin: 0 0 4px; }
h1::after { content: ''; display: block; height: 2px; margin-top: 6px; background: linear-gradient(to left, var(--gold), transparent 80%); }
[dir=ltr] h1::after { background: linear-gradient(to right, var(--gold), transparent 80%); }
.sub { color: var(--muted); margin: 8px 0 20px; }
.card { background: var(--card); border-radius: 18px; padding: 22px 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); overflow-wrap: anywhere; }
.card p { margin: 0; }
.card .gap { height: .8em; }
.card .ctx { color: var(--brand); }
.card p.q { text-align: center; font-family: "Frank Ruhl Libre", serif; font-size: 1.15em; line-height: 1.6; }
blockquote { margin: 6px 0; padding-inline-start: 14px; border-inline-start: 4px solid var(--brand); font-family: "Frank Ruhl Libre", serif; font-size: 1.12em; direction: rtl; text-align: right; }
.card .sep { text-align: center; color: var(--muted); letter-spacing: .3em; margin: .6em 0; }
.card .heb { direction: rtl; text-align: right; }
a { color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 22px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); font-weight: 700; text-decoration: none; font-size: 1.05rem; margin-top: 22px; }
/* כפתור ההצטרפות: גדול ובולט, לכל רוחב הדף, עם מסגרת זהב */
.btn.join { display: flex; width: 100%; min-height: 64px; font-size: 1.25rem; line-height: 1.35; text-align: center; padding: 14px 18px; border-radius: 18px; box-shadow: 0 0 0 3px var(--gold), 0 6px 18px rgba(31, 78, 121, .25); }
.btn.join.small { display: inline-flex; width: auto; min-height: 44px; font-size: .9rem; padding: 6px 14px; margin: 0 0 14px; box-shadow: 0 0 0 2px var(--gold); border-radius: 12px; }
.wait { color: var(--muted); }
.note { color: var(--muted); font-size: .85rem; margin-top: 28px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* דף ההצטרפות - לוח כותרת בסגנון האתר (גרסה 2, 25.10.2026): כחול עמוק, מסגרת זהב, ציטוט בשמנת */
.hero { position: relative; text-align: center; color: #f5ecd7; border-radius: 20px; padding: 46px 22px 34px; margin-bottom: 26px;
  background: radial-gradient(ellipse at 50% 40%, #22355c 0%, #142242 60%, #0a1428 100%); box-shadow: 0 8px 26px rgba(10, 20, 40, .28); }
.hero::before { content: ''; position: absolute; inset: 10px; border: 1px solid #c9a24d; border-radius: 13px; pointer-events: none; }
.hero .bsd { position: absolute; top: 18px; inset-inline-start: 22px; color: #c9a24d; font-size: .8rem; }
.hero .orn { display: block; width: 110px; height: 16px; margin: 0 auto 10px; color: #c9a24d; }
.hero h1.ttl { color: #e6c776; font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 2.5rem; line-height: 1.2; margin: 0; }
.hero h1.ttl::after { display: none; }
.hero .lead { font-family: "Frank Ruhl Libre", serif; font-size: 1.15rem; line-height: 1.6; margin: 14px auto 0; max-width: 30em; }
.hero .rule { display: block; height: 1px; width: 70%; margin: 20px auto 0; background: linear-gradient(to left, transparent, #c9a24d, transparent); }
[data-kind=join] .wait { text-align: center; }
[data-kind=join] .note { text-align: center; }
