/* אתר השיווק של תורטוב: דף הבית, מחירים והרשמה, עמודים משפטיים.
   הצבעים והמבנה מההדמיה (marketing/landing.dc.html). בלי סגנונות בתוך ה-HTML (CSP). */

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/rubik-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --violet: #6D3FE0;
  --violet-dark: #5328C2;
  --ink: #17212F;
  --text2: #3C4757;
  --muted: #556070;
  --bg: #F6F5FA;
  --white: #ffffff;
  --pink: #FF8CC6;
  --pink-soft: #FFE6F2;
  --pink-pale: #FFF0F7;
  --pink-text: #9C2A68;
  --lilac: #EFE8FF;
  --lilac-pale: #F3EEFF;
  --lilac-border: #DCCDFF;
  --field-border: #8B74D8;   /* גבול שדות: ניגודיות 3:1 לפחות על כל הרקעים (נגישות 1.4.11) */
  --sky: #DFF3FF;
  --sky-text: #0B5E8F;
  --line: #EEEDF3;
  --danger: #B3261E;
  --ok: #1E7A46;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Rubik, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--violet); }
a:hover { color: var(--violet-dark); }
:focus-visible { outline: 3px solid var(--violet-dark); outline-offset: 3px; border-radius: 6px; }
img, video { max-width: 100%; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 860px; }

/* ---------- כותרת ותחתית ---------- */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; color: var(--violet); text-decoration: none; }
.brand:hover { color: var(--violet); }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--violet); display: grid; place-items: center; flex: none; }
.head-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.head-nav .plain { color: var(--ink); text-decoration: none; font-weight: 500; }
.head-nav .plain:hover { color: var(--violet); }

.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-block: 26px; font-size: 14px; color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 26px; border-radius: 16px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer;
}
.btn-violet { background: var(--violet); color: var(--white); }
.btn-violet:hover { background: var(--violet-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--violet); border-color: var(--lilac-border); }
.btn-outline:hover { border-color: var(--violet); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: #ff78bc; color: var(--ink); }
.btn-pill { min-height: 46px; padding: 0 20px; border-radius: 999px; font-size: 16px; }
.btn-big { min-height: 58px; padding: 0 30px; border-radius: 18px; font-size: 19px; font-weight: 800; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- דף הבית ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 30px 80px; }
.hero-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge { align-self: flex-start; background: var(--sky); color: var(--sky-text); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.hero h1 { margin: 0; font-size: clamp(40px, 7vw, 64px); line-height: 1.05; font-weight: 800; }
.violet { color: var(--violet); }
.lead { margin: 0; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.55; color: var(--text2); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { flex: 1 1 340px; display: flex; justify-content: center; position: relative; }
.hero-art .blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--pink-soft); top: 10px; inset-inline-start: 0; }
.chat {
  position: relative; width: min(330px, 100%); background: var(--lilac); border-radius: 30px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 48px rgba(23, 33, 47, .14);
}
.chat-title { font-size: 13px; color: var(--muted); text-align: center; }
.bubble-in { background: var(--white); border-radius: 18px 18px 18px 4px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.bubble-in b { color: var(--violet); font-size: 13px; }
.bubble-link { background: var(--lilac-pale); border-radius: 10px; padding: 8px 10px; color: var(--violet-dark); font-weight: 700; overflow-wrap: anywhere; }
.bubble-time { font-size: 12px; color: var(--muted); text-align: left; }
.bubble-out { align-self: flex-end; background: var(--pink); border-radius: 18px 18px 4px 18px; padding: 10px 14px; font-size: 15px; font-weight: 700; }

.band { background: var(--white); padding-block: 80px; }
.band-lilac { background: var(--lilac); padding-block: 80px; }
.section { padding-block: 80px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.split-text h2, .h2 { margin: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; font-weight: 800; }
.split-text p, .body-l { margin: 0; font-size: 19px; line-height: 1.65; color: var(--text2); }

.board { flex: 999 1 520px; min-width: 0; background: var(--lilac-pale); border-radius: 30px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.board-top b { font-size: 18px; }
.board-top span { font-size: 14px; color: var(--muted); }
.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cls { background: var(--white); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cls-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cls-head > span { display: flex; gap: 8px; align-items: center; }
.cls-head b { font-size: 14px; }
.cls-head .pct { color: var(--violet-dark); }
.chip-class { background: var(--lilac); color: var(--violet-dark); border-radius: 8px; padding: 4px 9px; font-weight: 700; font-size: 14px; }
.bar { height: 7px; background: var(--line); border-radius: 99px; display: block; overflow: hidden; }
.bar > span { display: block; height: 7px; background: var(--pink); border-radius: 99px; }
.w81 { width: 81%; } .w91 { width: 91%; } .w97 { width: 97%; } .w100 { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-pink { background: var(--pink-soft); color: var(--pink-text); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 700; }
.board-cta { align-self: flex-start; background: var(--violet); color: var(--white); border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 15px; }

.center { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.video {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; background: var(--lilac); display: block;
}

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature b { font-size: 22px; }
.feature span { font-size: 17px; line-height: 1.6; color: var(--text2); }
.bg-lilac { background: var(--lilac-pale); }
.bg-pink { background: var(--pink-pale); }
.bg-sky { background: var(--sky); }

.cta h2 { margin: 0; font-size: clamp(32px, 5vw, 44px); font-weight: 800; color: var(--violet-dark); line-height: 1.2; }
.cta p { margin: 0; font-size: 19px; color: var(--text2); }
.phone { font-size: 18px; font-weight: 700; }

/* ---------- מחירים והרשמה ---------- */
.page-head { padding-block: 20px 36px; display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { margin: 0; font-size: clamp(36px, 6vw, 52px); line-height: 1.1; font-weight: 800; }

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.card { background: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.card h2 { margin: 0; font-size: 24px; font-weight: 800; }
.price-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price-big b { font-size: 48px; font-weight: 800; color: var(--violet); line-height: 1; }
.price-big > span { color: var(--text2); font-size: 17px; }
.facts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--text2); }
.includes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 15px; line-height: 1.45; }
.includes li::before { content: '✓ '; color: var(--violet); font-weight: 700; }

.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.calc-out > div { border-radius: 16px; padding: 14px 8px; display: flex; flex-direction: column; gap: 4px; }
.calc-out > div > span { font-size: 13px; }
.calc-out b { font-size: 24px; font-weight: 800; }
.calc-out .total { border: 3px solid var(--violet); background: var(--white); }
.calc-out .total > span { color: var(--violet-dark); }
.calc-out .total b { color: var(--violet); }
.c-lilac { background: var(--lilac); } .c-lilac > span { color: var(--violet-dark); }
.c-pink { background: var(--pink-soft); } .c-pink > span { color: var(--pink-text); }
.hint { margin: 0; font-size: 14px; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.field label.check { font-weight: 400; font-size: 16px; }
.field input, .field select {
  font: inherit; font-size: 17px; min-height: 52px; padding: 0 14px; border-radius: 14px;
  border: 2px solid var(--field-border); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px var(--lilac); }
.field input[aria-invalid='true'], .field select[aria-invalid='true'] { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 14px; }
.field .err:empty { display: none; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .wide { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--violet); }
.check .req { color: var(--danger); }
.trap { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { border-radius: 16px; padding: 14px 18px; }
.note p { margin: 0; }
.note-err { background: #FDECEA; color: #8A1C14; }
.note-ok { background: var(--sky); color: var(--sky-text); }
.thanks { text-align: center; align-items: center; padding-block: 48px; }
.thanks .big { font-size: 34px; font-weight: 800; color: var(--violet-dark); margin: 0; }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- עמודים משפטיים ---------- */
.legal { background: var(--white); border-radius: 24px; padding: clamp(22px, 4vw, 44px); margin-bottom: 40px; }
.legal h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 40px); font-weight: 800; }
.legal h2 { margin: 32px 0 10px; font-size: 22px; font-weight: 800; color: var(--violet-dark); }
.legal p, .legal li { font-size: 17px; line-height: 1.75; color: var(--text2); }
.legal ol, .legal ul { padding-inline-start: 26px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-top: 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; line-height: 1.5; }
.legal th { background: var(--lilac-pale); }
.legal .table-wrap { overflow-x: auto; }

@media (max-width: 860px) {
  .features, .price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .board-grid, .fields, .includes { grid-template-columns: minmax(0, 1fr); }
  .calc-out b { font-size: 20px; }
  .hero { gap: 36px; }
  .band, .band-lilac, .section { padding-block: 56px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print {
  .site-head .head-nav, .site-foot nav, .skip { display: none; }
  body { background: #fff; }
  .legal { padding: 0; }
}
.thanks .big:focus { outline: none; }
.card.narrow { margin-inline: auto; width: 100%; }
.sample-tag { display: inline-block; background: var(--white); color: var(--violet-dark); border: 1px solid var(--lilac-border); border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 700; margin-inline-end: 6px; }
/* נגישות */
.hero-art .blob { width: min(320px, 100%); height: auto; aspect-ratio: 1; }   /* לא חורג מהמסך ברוחב 320 */
.video-text { text-align: start; margin-top: 14px; background: var(--white); border-radius: 16px; padding: 12px 18px; }
.video-text summary { cursor: pointer; font-weight: 700; color: var(--violet-dark); min-height: 32px; display: flex; align-items: center; }
.video-text ol { margin: 8px 0 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--text2); }
main:focus { outline: none; }   /* יעד "דילוג לתוכן" */
/* לוח לחטיבות ולתיכונים (עמוד /high): שורה לכל מורה */
.trows { display: flex; flex-direction: column; gap: 10px; }
.trow { background: var(--white); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.trow-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.trow-head b { font-size: 15px; }
.trow-head .count { color: var(--violet-dark); }
.trow .bar, .trow .bar > span { height: 8px; }
.w47 { width: 47%; } .w55 { width: 55%; } .w68 { width: 68%; }
