/* JASMINE (Israel) study pages: landing page and questionnaire page.
   The landing page's identity (deep clinical green on warm off-white), right to left, one column on phones, two from 900px.
   Fonts self-hosted (SIL Open Font License, Fontsource 5.3.0), so visitors' browsers make no request to Google. */
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/heebo-hebrew-wght-normal.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: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/heebo-latin-wght-normal.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; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/assistant-hebrew-wght-normal.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: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/assistant-latin-wght-normal.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 {
  --green: #0B5344;
  --green-hover: #0E7357;
  --green-soft: #E7F0EC;
  --green-line: #C9DED6;
  --ink: #16211D;
  --muted: #4A5A54;
  --faint: #7A8B84;
  --paper: #F6F7F5;
  --surface: #FFFFFF;
  --line: #DBE2DD;
  --font-display: "Heebo", "Assistant", "Noto Sans Hebrew", Arial, sans-serif;
  --font-body: "Assistant", "Noto Sans Hebrew", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.75; text-align: right; }
.page { direction: rtl; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 600px) { .wrap { padding-inline: 24px; } }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green-hover); outline-offset: 3px; border-radius: 6px; }


header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 26px; width: auto; display: block; }
.brand img.az { height: 22px; }
.brand .label { font-size: 15px; color: var(--muted); white-space: nowrap; border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
@media (max-width: 479px) { .brand .label { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; text-decoration: none; border-radius: 10px; padding: 15px 26px; font-size: 18px; box-shadow: 0 1px 2px rgba(11,83,68,.18), 0 8px 22px rgba(11,83,68,.16); }
.btn:hover { background: var(--green-hover); }
.btn.small { padding: 10px 18px; font-size: 16px; box-shadow: none; white-space: nowrap; }
.btn.block { display: flex; width: 100%; max-width: 26rem; }
.phone-line { font-size: 16px; color: var(--muted); }
.phone-line b { color: var(--ink); }

section { border-bottom: 1px solid var(--line); }
section.white { background: var(--surface); }
.sec { padding-block: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.lead { color: var(--muted); max-width: 46rem; }
.two { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1.05fr .95fr; } }
.two > * { min-width: 0; }
.photo { width: 100%; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--green-soft); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* hero */
.hero .sec { gap: 0; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 999px; padding: 5px 13px; margin-bottom: 18px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-hover); }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.hero .intro { font-size: 18px; color: var(--muted); max-width: 36rem; }
.hero .intro strong { color: var(--ink); font-weight: 700; }
.hero .cta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; max-width: 30rem; }
.hero .cta .micro { font-size: 16px; color: var(--muted); }
.trust { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 16px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.trust b { color: var(--ink); }
.hero .photo { aspect-ratio: 4 / 5; }

/* about */
.note-box { background: var(--green-soft); border-inline-start: 4px solid var(--green); border-radius: 10px; padding: 16px 18px; font-size: 16px; }
.note-box strong { font-family: var(--font-display); }
.about .photo { aspect-ratio: 4 / 3; }
.readmore { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-family: var(--font-display); font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.more { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .about .two { grid-template-columns: 1fr 1fr; align-items: start; } .about .photo { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); } }

/* benefits */
.benefits { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start; }
.benefit svg { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.benefit h3 { font-size: 17px; }
.benefit p { font-size: 16px; color: var(--muted); }
.benefit.lead-benefit { background: var(--green-soft); border-color: var(--green-line); }
.benefit.lead-benefit svg { background: var(--surface); }

/* eligibility */
.elig { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 900px) { .elig { grid-template-columns: 1fr 1fr; } }
.card { border-radius: 14px; padding: 20px; }
.card.green { background: var(--green-soft); border: 1px solid var(--green); }
.card.plain { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22,33,29,.05), 0 6px 20px rgba(22,33,29,.05); display: flex; flex-direction: column; gap: 14px; }
.checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }
.checks small { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.card .after { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--green-line); font-size: 15px; color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 46rem; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; }
.steps .n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.steps p { font-size: 16px; color: var(--muted); }
.know { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; max-width: 46rem; display: flex; flex-direction: column; gap: 6px; }
.know p { font-size: 16px; }

/* referral */
.referral { background: linear-gradient(160deg, var(--green) 0%, #063A30 100%); color: #FFFFFF; border-radius: 16px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.referral h2 { color: #FFFFFF; }
.referral p { color: #D5E4DE; font-size: 16px; max-width: 46rem; }
.btn.light { background: #FFFFFF; color: var(--green); box-shadow: none; align-self: flex-start; }
.btn.light:hover { background: var(--green-soft); }
.btn.light svg { width: 20px; height: 20px; margin-inline-start: 8px; }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; max-width: 860px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; flex: none; }
.faq summary::after { transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 18px 18px; font-size: 16px; color: var(--muted); display: grid; gap: 10px; }
.faq .a strong { color: var(--ink); }

/* closing */
.closing { background: var(--green-soft); border-bottom: 1px solid var(--green-line); }
.closing .sec { align-items: center; text-align: center; }
.closing p { color: var(--muted); }

footer { background: #EEF1EE; font-size: 15px; color: var(--muted); line-height: 1.7; }
footer .wrap { padding-block: 28px; display: flex; flex-direction: column; gap: 10px; }
footer img { height: 22px; width: auto; align-self: flex-start; }
footer .disc { border-top: 1px solid var(--line); padding-top: 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
img { max-width: 100%; }

/* questionnaire page */
.form-page .sec { gap: 14px; max-width: 760px; margin-inline: auto; }
.form-page h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.form-page .run-by { color: var(--muted); font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form-page .run-by img { height: 20px; width: auto; }
#form iframe { display: block; width: 100%; min-height: 900px; border: 0; background: #FFFFFF; border-radius: 12px; }
.form-back { font-size: 16px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }

/* legal pages (privacy, cookies) */
.legal .sec { max-width: 860px; margin-inline: auto; gap: 12px; }
.legal h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin-top: 18px; }
.legal .n { font-family: var(--font-body); font-weight: 700; color: var(--green); margin-inline-end: 4px; unicode-bidi: isolate; }
.legal .clause { font-size: 16px; }
.legal .clause.l1 { padding-inline-start: 20px; }
.legal .clause.l2 { padding-inline-start: 40px; }
.legal .clause.l3 { padding-inline-start: 60px; }
.legal .clause.bullet { padding-inline-start: 20px; position: relative; }
.legal .clause.bullet::before { content: "•"; position: absolute; inset-inline-start: 4px; color: var(--green); }
.legal a { overflow-wrap: anywhere; }
.legal .table-wrap { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: right; vertical-align: top; }
.legal th { background: var(--green-soft); }
.legal .notes { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; padding-inline-start: 20px; }
