/* מתנסית — אתר שיווק. CSS אחד לכל העמודים. */
:root {
  --ink: #13294b;
  --ink-2: #1d3a66;
  --text: #13294b;
  --muted: #4f5e78;
  --line: #dfe5ef;
  --paper: #f5f7fb;
  --card: #ffffff;
  --teal: #20b39a;
  --orange: #ff7a3d;
  --blue: #4f7cff;
  --sky: #9fb6ff;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

/* ── Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; }
.brand img { width: 128px; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { text-decoration: underline; }
.nav .nav-link { display: none; }
@media (min-width: 760px) { .nav .nav-link { display: inline; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1.2rem;
  border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .35rem 1rem; font-size: .95rem; }

/* ── Hero */
.hero { background: var(--card); padding-block: 48px 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero .wrap > *, .app .wrap > * { min-width: 0; }
@media (min-width: 980px) {
  .hero { padding-block: 80px 88px; }
  .hero .wrap { grid-template-columns: 1fr 1.08fr; gap: 56px; }
}
.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.12;
  margin-bottom: .45em;
}
.hero .lead { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* The week board: halls × hours, the thing a matnas looks at every day. */
.board {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  font-size: .82rem;
}
.board::before {
  /* the community circle, large and quiet behind the board */
  content: ""; position: absolute; z-index: 0;
  width: 380px; height: 380px; inset-inline-end: -170px; bottom: -190px;
  border-radius: 50%;
  border: 14px dashed rgba(32, 179, 154, .16);
  pointer-events: none;
}
.board > * { position: relative; z-index: 1; }
@media (max-width: 979px) { .board::before { display: none; } }
.board { margin: 0; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.board-title { font-weight: 700; font-size: 1rem; }
.board-day { color: var(--muted); }
.board-grid {
  display: grid;
  grid-template-columns: 5.6rem repeat(10, minmax(0, 1fr));
  row-gap: 8px;
  align-items: center;
}
.board-hours { display: contents; color: var(--muted); }
.board-hours span { font-size: .72rem; text-align: start; padding-inline-start: 2px; }
.board-hours span:first-child { grid-column: 1; }
.hall { grid-column: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline-end: 8px; }
.slot {
  height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; padding-inline: 8px;
  font-weight: 600; font-size: .76rem; white-space: nowrap; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
}
.slot-class { background: #e7edff; border-color: #c9d6ff; }
.slot-camp { background: #e1f5f1; border-color: #b4e6dc; }
.slot-rent { background: #fff0e8; border-color: #ffd3bd; }
.slot-event { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot-clash { box-shadow: 0 0 0 2px var(--orange); }
.board-note {
  display: flex; align-items: center; gap: .5rem; margin-top: 14px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid #ffd3bd; font-size: .82rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--orange); }
.board-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 10px; color: var(--muted); font-size: .76rem; }
.board-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.board-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--line); }

/* ── Sections */
.section { padding-block: 64px; }
@media (min-width: 980px) { .section { padding-block: 96px; } }
.section-head { max-width: 44rem; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Feature groups: one colour from the logo per group. */
.groups { display: grid; gap: 20px; }
@media (min-width: 860px) { .groups { grid-template-columns: 1fr 1fr; gap: 24px; } }
.group {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  border-top: 6px solid var(--c, var(--ink));
}
@media (min-width: 720px) { .group { padding: 34px 34px 26px; } }
.group h3 { font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.group h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--ink)); flex: none; }
.group > p { color: var(--muted); }
.group-c1 { --c: var(--orange); }
.group-c2 { --c: var(--blue); }
.group-c3 { --c: var(--teal); }
.group-c4 { --c: var(--ink); }
.feats { list-style: none; }
.feats li { padding-block: 12px; border-top: 1px solid var(--line); }
.feats li:first-child { border-top: 0; padding-top: 4px; }
.feats strong { display: block; font-weight: 600; }
.feats span { color: var(--muted); font-size: .98rem; }

.also { margin-top: 28px; color: var(--muted); max-width: 50rem; }

/* Links without passwords */
.links-section { background: var(--card); border-block: 1px solid var(--line); }
.people { display: grid; gap: 0; list-style: none; }
@media (min-width: 720px) { .people { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1040px) { .people { grid-template-columns: 1fr 1fr 1fr; } }
.people li { padding-block: 18px; border-top: 1px solid var(--line); }
.people h3 { font-size: 1.1rem; margin-bottom: .25em; }
.people p { color: var(--muted); margin: 0; font-size: .98rem; }

/* App band */
.app { background: var(--ink); color: #fff; }
.app .wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .app .wrap { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.app h2 { color: #fff; font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 800; }
.app p, .app li { color: #d5deec; }
.app a { color: #fff; }
.app-points { list-style: none; margin-top: 1.25rem; }
.app-points li { display: flex; gap: .75rem; padding-block: .4rem; }
.app-points li::before { content: ""; width: 10px; height: 10px; margin-top: .62em; border-radius: 50%; background: var(--teal); flex: none; }
.app-points li:nth-child(2)::before { background: var(--orange); }
.app-points li:nth-child(3)::before { background: var(--sky); }
.phone {
  justify-self: center;
  width: min(300px, 100%);
  aspect-ratio: 9 / 18.5;
  background: #0d1d36;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px rgba(0,0,0,.35);
}
.phone-screen {
  height: 100%; border-radius: 34px; background: #fff; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 22px; text-align: center;
}
.phone-screen img { width: 84px; margin-bottom: 18px; }
.app .phone-screen p { color: var(--ink); }
.phone-q { font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.app .phone-screen .phone-hint { color: var(--muted); }
.phone-hint { font-size: .8rem; margin-bottom: 18px; line-height: 1.5; }
.phone-field {
  width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #8a96ab; font-size: .95rem; margin-bottom: 12px;
}
.phone-btn {
  width: 100%; height: 48px; border-radius: 12px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}

/* Getting started: a real sequence, so numbered. */
.steps { list-style: none; counter-reset: step; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem;
  border: 3px dashed var(--teal); color: var(--ink); background: var(--card);
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); }

.contact-section { background: var(--card); border-top: 1px solid var(--line); }
.contact-box { max-width: 44rem; }
.contact-box h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 800; }
.contact-box p { color: var(--muted); font-size: 1.1rem; }
.mail {
  display: inline-block; margin-top: .5rem;
  font-size: clamp(1.25rem, 4.6vw, 1.75rem); font-weight: 700; direction: ltr;
  text-decoration: none; border-bottom: 3px solid var(--teal); padding-bottom: 2px;
  word-break: break-all;
}
.mail:hover { border-color: var(--ink); }

/* ── Text pages (privacy, support, accessibility, 404) */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding-block: 44px 36px; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; margin-bottom: .3em; }
.page-head p { color: var(--muted); margin: 0; }
.prose { max-width: 46rem; padding-block: 40px 72px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-inline-start: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose .note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style-position: inside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 14px 20px 4px; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* ── Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 36px 28px; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: auto 1fr; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; }
@media (min-width: 760px) { .footer-links { justify-content: flex-end; } }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.credit { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.credit a { color: var(--muted); }

/* Promo video in the hero */
.promo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: 0 24px 60px -24px rgba(19,41,75,.45); aspect-ratio: 16 / 9; }
.promo-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Today vs. with Matnasit */
.compare { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .compare { grid-template-columns: repeat(3, 1fr); } }
.compare li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 24px; display: grid; gap: 12px; }
.compare p { margin: 0; line-height: 1.5; }
.compare .before { color: var(--muted); padding-inline-start: 30px; position: relative; }
.compare .before::before { content: "✕"; position: absolute; inset-inline-start: 0; top: 0; color: #c2410c; font-weight: 700; }
.compare .after { font-weight: 700; font-size: 1.15rem; color: var(--ink); padding-inline-start: 30px; position: relative; padding-top: 12px; border-top: 1px dashed var(--line); }
.compare .after::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 12px; color: var(--teal); font-weight: 800; }

/* What Matnasit does for you */
.benefits-section { background: var(--card); border-block: 1px solid var(--line); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefits li { background: var(--paper); border-radius: var(--radius-lg); padding: 22px; border-top: 4px solid var(--teal); }
.benefits li:nth-child(2) { border-top-color: var(--orange); }
.benefits li:nth-child(3) { border-top-color: var(--blue); }
.benefits li:nth-child(4) { border-top-color: var(--orange); }
.benefits li:nth-child(5) { border-top-color: var(--teal); }
.benefits h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--ink); }
.benefits p { margin: 0; color: var(--muted); line-height: 1.6; }
