/* ═══ דף ההסבר הארוך (read/) ═══════════════════════════════════════════════
   יושב על first.css: אותם טוקנים, שמיים, כוכבים, כוכבי־העולמות, גיליון וכפתורים.
   כאן רק מה שדף קריאה צריך. צבעים ומידות רק כטוקנים ב־:root, בלי hex בתוך החוקים.
   ניגודיות (WCAG 2.1, מחושבת מול הפיקסל הבהיר ביותר בשמיים, ‎(158,151,221)‎, בלי שכבת ההכהיה של first.css):
     דוק 0.62: טקסט 8.53 · טקסט משני 5.18 · ✓ 5.11. מעל הדף עצמו: 17.22 / 10.46. כותרת קבועה: 15.55 / 9.45. */
:root {
  --r-veil: rgba(9, 15, 31, 0.62);        /* דוק אחיד מעל השמיים: הם נשארים נראים, והטקסט קריא בכל נקודה */
  --r-head-bg: rgba(9, 15, 31, 0.92);
  --r-rule: rgba(184, 192, 210, 0.16);
  --r-col: 640px;                          /* עמודת הקריאה: כ־65–70 תווים בשורה ב־18px */
  --r-wide: 1040px;
  --r-h1: 40px; --r-h2: 26px; --r-h3: 18px; --r-body: 17px; --r-lead: 19px;
  --r-gap: 56px;                           /* בין מקטעים */
  --r-hdr: 100px;                          /* גובה הכותרת הקבועה (טלפון: שתי שורות) */
  --r-B: 210px;                            /* ג׳ובי: צלע הקנבס של המעצב */
}
@media (min-width: 960px) {
  :root { --r-h1: 60px; --r-h2: 32px; --r-h3: 19px; --r-body: 18px; --r-lead: 22px; --r-gap: 88px; --r-hdr: 64px; --r-B: 380px; }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.r { line-height: 1.75; font-size: var(--r-body); }
.r-veil { position: fixed; inset: 0; z-index: -2; background: var(--r-veil); pointer-events: none; }
.r [id] { scroll-margin-top: calc(var(--r-hdr) + 16px); }

/* ── הכותרת הקבועה ── */
.r-head { position: sticky; top: 0; z-index: 20; background: var(--r-head-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--r-rule); padding: 0 16px; padding-top: env(safe-area-inset-top); }
.r-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; }
.r-back { justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--tx-mut); font-size: var(--t-small); font-weight: 600; text-decoration: none; transition: color var(--d1) var(--ease); }
.r-back:hover { color: var(--tx); }
.r-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.r-mark { height: 22px; width: auto; opacity: .8; }
.r-pill { justify-self: end; transition: opacity var(--d2) var(--ease), visibility var(--d2); }
/* זהב אחד בתצוגה: כשכפתור הסיום על המסך, הגלולה שבכותרת מתפוגגת (opacity, בלי שינוי פריסה) */
.r-head.calm .r-pill { opacity: 0; visibility: hidden; }

.r-nav { display: flex; justify-content: space-between; gap: 4px; min-height: 44px; margin: 0 -4px; }
.r-nav a { position: relative; flex: 1 1 0; display: grid; place-items: center; min-height: 44px; padding: 0 4px; color: var(--tx-mut); font-size: var(--t-small); font-weight: 600; text-decoration: none; white-space: nowrap; transition: color var(--d1) var(--ease); }
.r-nav a::after { content: ''; position: absolute; inset-inline: 22%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--wc, var(--tx)); opacity: 0; transform: scaleX(.4); transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
.r-nav a:hover, .r-nav a[aria-current="true"] { color: var(--tx); }
.r-nav a[aria-current="true"]::after { opacity: 1; transform: none; }
.r-nav [data-nav="student"] { --wc: var(--w-student); }
.r-nav [data-nav="teacher"] { --wc: var(--w-teacher); }
.r-nav [data-nav="oversight"] { --wc: var(--w-oversight); }
.r-nav [data-nav="business"] { --wc: var(--w-business); }
/* בטלפון: שמות קצרים על המסך, והשם המלא לקורא מסך */
.r-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 960px) {
  .r-head { display: grid; grid-template-columns: auto auto 1fr auto; column-gap: 20px; align-items: center; min-height: var(--r-hdr); padding-inline: max(24px, calc((100% - var(--r-wide)) / 2)); }
  .r-bar { display: contents; }
  .r-mark { order: -1; }
  .r-back { order: 0; }
  .r-nav { order: 1; justify-content: center; gap: 8px; margin: 0; }
  .r-nav a { flex: none; padding: 0 12px; }
  .r-pill { order: 2; }
  .r-full { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .r-short { display: none; }
}

/* ── הדף ── */
.r-main { padding: 0 16px 48px; }
.r-sec { max-width: var(--r-col); margin: var(--r-gap) auto 0; }
.r h1, .r h2, .r-lead { text-wrap: balance; }
.r h2 { margin: 0; font-size: var(--r-h2); font-weight: 800; line-height: 1.25; letter-spacing: -.005em; }
.r h3 { margin: 28px 0 6px; font-size: var(--r-h3); font-weight: 700; line-height: 1.45; color: var(--tx); }
.r p { margin: 0 0 12px; }
.r b { font-weight: 700; color: var(--tx); }
.r-sec > h2 + h3, .r-aud-head + h3 { margin-top: 20px; }

/* הכותרת: ג׳ובי ומה זה. במחשב באותה עמודה כמו הטקסט, כדי שיהיה קו פתיחה אחד לכל הדף */
.r-hero { max-width: var(--r-wide); margin: 0 auto; padding-top: 24px; display: grid; justify-items: center; text-align: center; }
.r-joovi { position: relative; width: calc(var(--r-B) * .56); height: calc(var(--r-B) * .64); overflow: clip; overflow-clip-margin: 14px; }
.r-jbox { position: absolute; width: var(--r-B); height: var(--r-B); left: calc(var(--r-B) * -.24); top: calc(var(--r-B) * -.18); }
.r-jbox img { width: 100%; height: 100%; object-fit: contain; display: block; }
.r-hero h1 { margin: 16px 0 0; font-size: var(--r-h1); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.r-lead { margin: 14px auto 0; max-width: 30em; font-size: var(--r-lead); line-height: 1.6; color: var(--tx); }
.r-lead2 { margin: 10px auto 0; max-width: 34em; color: var(--tx-mut); }
@media (min-width: 960px) {
  .r-hero { max-width: var(--r-col); grid-template-columns: 1fr auto; grid-template-areas: "tx jv"; align-items: center; column-gap: 32px; padding-top: 56px; text-align: start; justify-items: start; }
  .r-hero-tx { grid-area: tx; }
  .r-joovi { grid-area: jv; }
  .r-lead, .r-lead2 { margin-inline: 0; }
}

/* שלושה רבדים: קו אחד, שלוש תחנות בצבעי העולמות */
.r-flow { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; position: relative; }
.r-flow::before { content: ''; position: absolute; inset-inline-start: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--orbit); }
.r-flow li { position: relative; display: grid; align-content: start; gap: 2px; padding-inline-start: 32px; }
.r-flow .r-dot { position: absolute; inset-inline-start: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--wc); box-shadow: 0 0 14px -2px var(--wc), 0 0 0 4px var(--page); }
.r-flow b { font-size: var(--r-h3); }
.r-flow span:last-child { color: var(--tx-mut); }
@media (min-width: 720px) {
  .r-flow { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .r-flow::before { inset-inline: 8px calc(33.33% - 8px); top: 7px; bottom: auto; width: auto; height: 1px; }
  .r-flow li { padding: 32px 0 0; }
  .r-flow .r-dot { top: 0; }
}

/* קהל: כוכב העולם מהדף הראשי, וכותרת */
.r-aud { padding-top: var(--r-gap); border-top: 1px solid var(--r-rule); }
.r-aud-head { display: flex; align-items: center; gap: 16px; --globe: 44px; }
.r-aud-head .globe { flex: none; }
.r-aud-head .globe.ringed { margin-inline: 14px; }   /* הטבעת חורגת ב־34% לכל צד: לא נוגעת בכותרת */
.r-kicker { margin: 10px 0 0; font-size: var(--r-lead); font-weight: 600; color: var(--tx-mut); }

/* רשימות: נקודה בצבע העולם */
.r-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.r-list li { position: relative; padding-inline-start: 22px; }
.r-list li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--wc, var(--tx-mut)); }
.r-steps { list-style: none; counter-reset: s; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.r-steps li { counter-increment: s; position: relative; padding-inline-start: 40px; min-height: 28px; }
.r-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-small); font-weight: 700; line-height: 1; color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--wc, var(--tx-mut)); }

/* עושה / לא עושה */
.r-two { display: grid; gap: 8px; }
.r-col-h { font-size: var(--t-small) !important; letter-spacing: .02em; color: var(--tx-mut) !important; margin-top: 24px !important; }
.r-yes li::before, .r-no li::before { width: auto; height: auto; background: none; border-radius: 0; top: 0; inset-inline-start: 0; font-weight: 700; }
.r-yes li::before { content: '✓'; color: var(--mark-ok); }
.r-no li::before { content: '–'; color: var(--tx-mut); }
@media (min-width: 720px) { .r-two { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.r-note { margin-top: 16px; font-size: var(--t-small); color: var(--tx-mut); }

/* שאלות ותשובות: פתוחות, לקריאה רציפה */
.r-faq { margin: 20px 0 0; display: grid; gap: 0; }
.r-faq > div { padding: 18px 0; border-top: 1px solid var(--r-rule); }
.r-faq > div:first-child { border-top: 0; padding-top: 4px; }
.r-faq dt { font-weight: 700; color: var(--tx); }
.r-faq dd { margin: 4px 0 0; color: var(--tx-mut); }
.r-faq dd .r-list { margin: 8px 0 0; }
.r-faq dd b { color: var(--tx); }

/* שלוש דרכים לעבוד יחד */
.r-ways { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.r-ways li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--r-rule); }
.r-ways li:first-child { border-top: 0; }
.r-ways b { font-size: var(--r-h3); }
.r-ways span { color: var(--tx-mut); }
@media (min-width: 720px) {
  .r-ways { grid-template-columns: repeat(3, 1fr); }
  .r-ways li { border-top: 0; padding: 4px 20px; border-inline-start: 1px solid var(--r-rule); }
  .r-ways li:first-child { border-inline-start: 0; padding-inline-start: 0; }
}

/* הסיום: פעולה אחת */
.r-contact { padding-top: var(--r-gap); border-top: 1px solid var(--r-rule); text-align: center; }
.r-contact p { margin: 12px auto 24px; max-width: 30em; color: var(--tx-mut); }
.r-to { white-space: nowrap; }
.r-contact a { color: var(--tx); text-underline-offset: 4px; unicode-bidi: isolate; }
.r-cta { width: min(360px, 100%); justify-content: center; }
.r-foot { max-width: var(--r-col); margin: 56px auto 0; display: flex; justify-content: center; }

/* ── הגיליון: אותו .sheet של first.css; כאן רק השדות של הטופס ── */
.r-sheet .sheet-in { padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
.r-form { display: grid; gap: 14px; }
.r-form h2 { font-size: var(--t-say); }
.r-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.r-chips legend { padding: 0; margin-bottom: 8px; font-size: var(--t-small); color: var(--tx-mut); }
.r-chip { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius); background: none; color: var(--tx-mut); font-size: var(--t-small); font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--field-brd); transition: color var(--d1) var(--ease), box-shadow var(--d1) var(--ease); }
.r-chip[aria-checked="true"] { color: var(--tx); box-shadow: inset 0 0 0 2px var(--tx); font-weight: 700; }
.r-pair { display: grid; gap: 14px; }
@media (min-width: 480px) { .r-pair { grid-template-columns: 1fr 1fr; } }
.r-form textarea.input { min-height: 72px; resize: vertical; }
.r-form .input::placeholder { color: var(--tx-mut); opacity: 1; }
.r-hint { margin: -6px 0 0; font-size: var(--t-small); color: var(--tx-mut); }
.r-hint.r-topic-l { margin: 0 0 8px; }
.r-direct { margin: 0; font-size: var(--t-small); color: var(--tx-mut); text-align: center; }
.r-direct a { color: var(--tx); }
.r-form .send { width: 100%; justify-content: center; }
.r-ok { display: grid; gap: 12px; }
.r-ok p { margin: 0; color: var(--tx-mut); }
.sheet-head h2 { margin: 0; }
.sheet-head .ibtn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  .r-nav a::after, .r-pill { transition: none; }
}
