@font-face { font-family: "Karantina"; font-weight: 700; font-display: swap;
  src: url(fonts/karantina-hebrew-700.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Karantina"; font-weight: 700; font-display: swap;
  src: url(fonts/karantina-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap;
  src: url(fonts/rubik-hebrew-400.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap;
  src: url(fonts/rubik-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap;
  src: url(fonts/rubik-hebrew-700.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap;
  src: url(fonts/rubik-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --board: #EEF1F5;
  --paper: #FFFFFF;
  --ink: #1B2A4A;
  --ink-soft: #46546F;
  --marker: #FFE45C;
  --go: #1D6F55;
  --go-dark: #155440;
  --alert: #B42318;
  --line: #C9D1DD;
  --display: "Karantina", "Rubik", system-ui, sans-serif;
  --body: "Rubik", "Segoe UI", Arial, system-ui, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 2rem;
  --step-3: clamp(2.9rem, 5vw + 1rem, 5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
}
a { color: var(--go-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: #fff;
  padding: 0.6rem 1rem; border-radius: 6px; z-index: 10; }
.skip:focus { top: 1rem; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

/* header */
.top { padding-block: 1.25rem; }
.top .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.logo { font: 700 2.1rem/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.logo span { background: var(--marker); padding-inline: 0.15em; }
.top nav a { color: var(--ink-soft); }

/* hero */
.hero { padding-block: 2.5rem 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
h1 { font: 700 var(--step-3)/0.95 var(--display); margin: 0 0 1.25rem; max-width: 12ch; }
h1 .punch { display: block; width: fit-content; margin-top: 0.12em; background: var(--marker); padding-inline: 0.12em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 34ch; margin: 0 0 2rem; }

.start { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 1.25rem; max-width: 30rem;
  box-shadow: 6px 6px 0 var(--ink); }
.start label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.start textarea { width: 100%; min-height: 5.5rem; resize: vertical; font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: 10px; padding: 0.75rem; background: #FBFCFE; }
.start textarea:focus-visible { border-color: var(--ink); outline-offset: 1px; }
.go { margin-top: 0.85rem; width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 0.6rem;
  font: 700 var(--step-1)/1 var(--body); color: #fff; background: var(--go); border: 0; border-radius: 10px;
  padding: 1rem 1.25rem; cursor: pointer; min-height: 3.25rem; text-decoration: none; box-sizing: border-box; }
.go:hover { background: var(--go-dark); color: #fff; }
.go svg { width: 1.4em; height: 1.4em; flex: none; }
.consent { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); margin: 0.85rem 0 0; }
.free { display: inline-block; margin-top: 1rem; font-weight: 700; background: var(--marker); padding: 0.15rem 0.5rem; border-radius: 4px; }

/* the board */
.board { position: relative; background: var(--paper); border-radius: 6px; padding: 1.4rem 1.2rem 1.2rem;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(27, 42, 74, 0.45); rotate: -1deg; }
.board::before, .board::after { content: ""; position: absolute; top: -0.7rem; width: 5.5rem; height: 1.5rem;
  background: rgba(255, 228, 92, 0.75); rotate: -4deg; }
.board::before { inset-inline-start: 1.5rem; }
.board::after { inset-inline-end: 1.5rem; rotate: 5deg; }
.board table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.board caption { font: 700 1.9rem/1 var(--display); text-align: start; margin-bottom: 0.75rem; }
.board th, .board td { border: 1.5px solid var(--line); padding: 0.45rem 0.4rem; text-align: center; font-size: 0.95rem; }
.board thead th { font-weight: 700; background: var(--board); }
.board tbody th { font-weight: 700; text-align: start; white-space: nowrap; }
.board td span { display: inline-block; padding: 0.05rem 0.35rem; border-radius: 3px; background: var(--marker); }
.board td.gap span { background: none; color: var(--alert); font-weight: 700; }
.board .hours { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

.notes { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.notes li { background: #DCF8C6; border-radius: 10px 10px 0 10px; padding: 0.45rem 0.7rem 0.35rem; font-size: 0.95rem;
  box-shadow: 0 1px 1px rgba(27, 42, 74, 0.18); max-width: 16rem; }
.notes b { display: block; font: 700 1.15rem/1.1 var(--display); color: var(--go-dark); }

/* the single load moment: replies land, then the cells fill */
@media (prefers-reduced-motion: no-preference) {
  .js .notes li { opacity: 0; translate: 0 0.5rem; animation: land 0.45s ease-out forwards; }
  .js .notes li:nth-child(2) { animation-delay: 0.6s; }
  .js .notes li:nth-child(3) { animation-delay: 1.2s; }
  .js .board td span { opacity: 0; scale: 0.6; animation: fill 0.3s ease-out forwards; animation-delay: calc(1.8s + var(--i, 0) * 0.07s); }
  @keyframes land { to { opacity: 1; translate: 0 0; } }
  @keyframes fill { to { opacity: 1; scale: 1; } }
}

/* how it works */
section.how { background: var(--paper); padding-block: 4.5rem; border-block: 2px solid var(--ink); }
h2 { font: 700 var(--step-2)/1.1 var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0 0 2rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 700 4rem/0.9 var(--display); color: var(--ink);
  -webkit-text-stroke: 0; margin-bottom: 0.5rem; }
.steps h3 { font-size: var(--step-1); margin: 0 0 0.4rem; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 32ch; }

/* faq */
section.faq { padding-block: 4.5rem; }
.faq .wrap { max-width: 46rem; }
details { border-bottom: 2px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: var(--step-1); padding-block: 1.1rem; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 1.6rem/1 var(--body); color: var(--go); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 1.25rem; color: var(--ink-soft); max-width: 60ch; }

/* footer */
footer { background: var(--ink); color: #E6EAF1; padding-block: 2.5rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer a { color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* legal pages */
.doc { background: var(--paper); padding-block: 3rem 4rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); max-width: none; }
.doc h2 { font: 700 1.35rem/1.3 var(--body); margin: 2.25rem 0 0.6rem; }
.doc p, .doc li { max-width: 68ch; }
.doc .updated { color: var(--ink-soft); }
.doc table { border-collapse: collapse; width: 100%; margin-block: 1rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: start; vertical-align: top; }
.doc th { background: var(--board); }
.todo { background: var(--marker); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .board { rotate: 0deg; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 420px) {
  .board th, .board td { padding: 0.35rem 0.2rem; font-size: 0.85rem; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
