/* Legal pages (privacy, accessibility). Port of the old /_legal.css plus
   the two small inline blocks those pages carried (.fill, .ok). */

:root {
    --purple: #7C2D96; --blue: #1E63C7; --ink: #1F1D4E;
    --grey-txt: #5C5C5C; --grey-bg: #F1F1F1; --rule: #E4E4E4;
    --font: "Rubik", "Heebo", "Assistant", "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font); background: #fff; color: #2B2B2B;
    font-size: 16.5px; line-height: 1.85;
    -webkit-text-size-adjust: 100%;
}

/* Skip link, for keyboard and screen-reader users */
.skip {
    position: absolute; inset-inline-start: -9999px; top: 0; z-index: 99;
    background: var(--purple); color: #fff; padding: 12px 20px;
    border-radius: 0 0 10px 0; font-weight: 700; text-decoration: none;
}
.skip:focus { inset-inline-start: 0; }

.top {
    background: linear-gradient(103deg, #1E63C7, #7C2D96); color: #fff;
    padding: clamp(30px, 6vw, 52px) 20px clamp(26px, 5vw, 44px);
}
/* width: auto undoes the fluid .wrap width base.css sets for the landing pages. */
.top .wrap { width: auto; max-width: 820px; margin: 0 auto; }
.top a.back {
    display: inline-block; margin-bottom: 16px;
    color: rgba(255, 255, 255, .9); font-size: 14.5px; font-weight: 600;
    text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45);
}
.top a.back:hover, .top a.back:focus-visible { color: #fff; border-color: #fff; }
.top h1 { margin: 0; font-size: clamp(1.55rem, 4.4vw, 2.3rem); font-weight: 800; line-height: 1.25; }
.top p { margin: .6rem 0 0; font-size: 15px; color: rgba(255, 255, 255, .9); }

main { max-width: 820px; margin: 0 auto; padding: clamp(26px, 5vw, 46px) 20px clamp(50px, 8vw, 80px); }

h2 {
    margin: clamp(30px, 5vw, 44px) 0 12px;
    font-size: clamp(1.12rem, 2.6vw, 1.35rem); font-weight: 800; color: var(--ink);
    line-height: 1.35;
}
h2:first-of-type { margin-top: 0; }
h3 { margin: 24px 0 8px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
p { margin: 0 0 14px; }
ul { margin: 0 0 16px; padding-inline-start: 22px; }
li { margin-bottom: 9px; }
li::marker { color: var(--purple); }
a { color: #6A2481; text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--ink); }
strong, b { font-weight: 700; color: var(--ink); }

.lead {
    font-size: 17px; background: var(--grey-bg);
    border-inline-start: 4px solid var(--purple);
    padding: 18px 20px; border-radius: 0 12px 12px 0; margin: 0 0 8px;
}
.note {
    background: #FFF8E6; border: 1px solid #F0DFAE; border-radius: 12px;
    padding: 16px 18px; margin: 18px 0; font-size: 15.2px;
}
.note p { margin: 0; }
.meta {
    margin-top: clamp(34px, 6vw, 52px); padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: 14.2px; color: var(--grey-txt);
}
/* Placeholder marker for details still to be filled in */
.fill { background: #FFE566; border-bottom: 2px dashed #B8860B; padding: 1px 5px; border-radius: 3px; font-weight: 700; }
/* Checklist on the accessibility page */
.ok { list-style: none; padding: 0; margin: 0 0 16px; }
.ok li { position: relative; padding-inline-start: 26px; margin-bottom: 9px; }
.ok li::before {
    content: ""; position: absolute; inset-inline-start: 0; top: .62em;
    width: 11px; height: 11px; border-radius: 50%; background: #1F7A4C;
}

/* A table that stays readable at 360px */
.tbl { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
/* The scroll area carries tabindex so it can be scrolled by keyboard. */
.tbl:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
caption { text-align: start; font-weight: 700; color: var(--ink); padding-bottom: 8px; }
th, td { border: 1px solid var(--rule); padding: 10px 12px; text-align: start; vertical-align: top; }
th { background: var(--grey-bg); font-weight: 700; color: var(--ink); }

.foot { background: var(--grey-bg); padding: 24px 20px; text-align: center; font-size: 14px; color: var(--grey-txt); }
.foot a { margin: 0 8px; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 3px; }

@media (max-width: 520px) {
    body { font-size: 16px; line-height: 1.8; }
    .lead { font-size: 16px; }
}
@media print {
    .top { background: none; color: #000; padding: 0 0 18px; }
    .top h1, .top p { color: #000; }
    .top a.back, .skip, .foot { display: none; }
    body { font-size: 11.5pt; }
}
