/* Israel Au Pair shared styles. Oct 13 2026 refinement.
   Warm white page, dark text, and one blue that is used only for the main button and focus rings.
   Fonts: Frank Ruhl Libre (headings) and Heebo (text), both cover English and Hebrew. */
:root {
  --bg: #fcfbf8; --soft: #f1f3f0; --ink: #222b2f; --body: #222b2f; --muted: #59646a; --line: #dadfd9; --card: #ffffff;
  --cta: #1f5f5b; --cta-dark: #164744;
  --serif: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --sans: Heebo, "Segoe UI", Helvetica, Arial, sans-serif;
  /* Names the older pages still use, pointed at the new palette. Accent is dark on purpose: blue is for the button only. */
  --accent: #222b2f; --accent-dark: #000000; --accent-light: #c9d0cc; --navy: #222b2f;
  --cream: #f1f3f0; --tint: #f1f3f0; --sand: #e8ebe6; --faint: #59646a; --chip: #c5ccc6; --pending: #fff3c4; --terracotta: #2148a6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 28px; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #000; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: normal; text-wrap: balance; }
h1 { font-size: 60px; line-height: 64px; }
h2 { font-size: 40px; line-height: 46px; }
p { color: var(--body); }
.muted, .note, .fine { color: var(--muted); }
[id] { scroll-margin-top: 92px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.wrap { max-width: 1184px; margin: 0 auto; padding: 0 32px; }
.band { padding: 64px 0; }
.band-major { padding: 88px 0; }
.band-soft { background: var(--soft); }
.band-why { padding-top: 40px; }
.band-how { padding-top: 0; }
.lead { font-size: 20px; line-height: 30px; color: var(--muted); max-width: 34em; }

/* The one call to action. Same label everywhere, and the only blue on the page. */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; background: var(--cta); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; border: 0; border-radius: 4px; cursor: pointer; white-space: nowrap; transition: background .15s ease; }
.cta:hover { background: var(--cta-dark); color: #fff; }
.cta svg { width: 17px; height: 17px; flex: none; }
.cta-sm { height: 48px; min-width: 144px; font-size: 16px; }
.cta-block { width: 100%; }
.more { font-weight: 500; }

/* Sticky top bar */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { font-family: var(--serif); font-size: 26px; line-height: 1; font-weight: 600; word-spacing: 0.06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--ink); font-size: 15px; line-height: 22px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { border-bottom-color: var(--ink); }
.bar-right { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; color: var(--ink); flex: none; }
.menu-btn svg { width: 20px; height: 20px; }

/* Home hero */
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .lead { margin-top: 20px; }
.hero-copy .cta { margin-top: 24px; }
.hero-photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* Section heads, benefits */
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 32px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trio figure { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.ph { overflow: hidden; border-radius: 4px; background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.trio .ph { aspect-ratio: 3 / 2.5; }
.trio figcaption { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--ink); }
.trio figcaption p { font-size: 17px; line-height: 26px; font-weight: 400; color: var(--muted); margin-top: 8px; }
.trio-one { display: none; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--muted); }
.steps h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.steps p { font-size: 16px; line-height: 24px; color: var(--muted); }
.steps li > div { display: flex; flex-direction: column; gap: 6px; }
.steps.long { grid-template-columns: 1fr; gap: 0; max-width: 820px; }
.steps.long li { flex-direction: row; gap: 24px; padding: 24px 0; }
.steps.long .n { min-width: 40px; padding-top: 2px; }
.steps.long p { font-size: 18px; line-height: 28px; }
.after { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Form section */
.start-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.start .lead { margin-top: 16px; }
.start .talk { margin-top: 20px; font-size: 16px; line-height: 24px; color: var(--muted); }
.lead-form { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 440px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.in-text { height: 48px; border: 1px solid #b9c1bb; border-radius: 4px; background: #fff; padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.in-text:focus { border-color: var(--cta); }
.lead-form .fine { font-size: 14px; line-height: 20px; }
.start-slim { text-align: center; }
.start-slim .lead { margin: 14px auto 28px; }

/* Questions */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq-in .more { display: inline-block; margin-top: 16px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: 19px; line-height: 26px; font-weight: 500; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 16px; height: 16px; flex: none; background: linear-gradient(var(--muted), var(--muted)) center / 16px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 16px no-repeat; }
.qa[open] summary::after { background: linear-gradient(var(--muted), var(--muted)) center / 16px 1.5px no-repeat; }
.qa p { padding: 0 48px 22px 0; color: var(--muted); }

/* Inner pages */
.page-head { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 48px; line-height: 54px; max-width: 16em; }
.page-head .lead { margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .ph { aspect-ratio: 4 / 4.4; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.rows p { color: var(--muted); }
.note { font-size: 14px; line-height: 20px; max-width: 820px; margin-top: 24px; }
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.week { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 14px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols3 h3 { font-size: 20px; line-height: 28px; font-weight: 500; margin-bottom: 6px; }
.cols3 p { color: var(--muted); }
.cols3 > div { border-top: 1px solid var(--line); padding-top: 20px; }
.guides { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.guides li { border-top: 1px solid var(--line); }
.guides li:last-child { border-bottom: 1px solid var(--line); }
.guides a { display: block; padding: 18px 0; font-size: 19px; line-height: 26px; font-weight: 500; text-decoration: none; }
.guides a:hover { text-decoration: underline; }

/* Candidates strip and footer */
.he-strip { border-top: 1px solid var(--line); padding: 24px 0; }
.he-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.he-strip p { font-size: 17px; line-height: 26px; color: var(--ink); }
.he-strip a { font-weight: 500; font-size: 17px; }
.foot { border-top: 1px solid var(--line); }
.foot-in { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot nav { display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: 14px; line-height: 22px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .legal { font-size: 14px; line-height: 22px; color: var(--muted); max-width: 860px; }
.foot .legal a { color: var(--muted); }

/* Hebrew */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .h1, [dir="rtl"] .h2, [lang="he"] h1, [lang="he"] h2 { line-height: 1.2; }

/* Older pages (form, about, contact, resources, article, legal, Hebrew): same palette and type, fewer boxes */
.serif { font-family: var(--serif) !important; letter-spacing: normal !important; }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.btn { background: var(--cta); color: #fff; border-radius: 4px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--cta-dark); color: #fff; }
.btn-ghost, .rcard, .navlinks a { text-decoration: none; }
.card, .rcard, .profile, .callout, .photo, .mosaic .photo { border-radius: 4px; box-shadow: none !important; }
figure.photo { box-shadow: none !important; }
.on-teal, .on-dark { background: var(--ink); }
.on-teal p, .on-dark p { color: #d5dad6; }
.on-teal a, .on-dark a { color: #fff; }
.on-teal .btn, .on-dark .btn { background: var(--cta); color: #fff; }
.tag { letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--muted); }
.fchip { border-radius: 4px; }
.fchip input { accent-color: var(--cta); }
.icon { stroke: var(--muted); }

@media (max-width: 1000px) {
  .nav { gap: 20px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .start-in { gap: 40px; }
  h1 { font-size: 48px; line-height: 54px; }
}
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 32px 12px; }
  .bar.open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 767px) {
  body { font-size: 17px; line-height: 26px; }
  h1, .page-head h1 { font-size: 38px; line-height: 42px; }
  h2 { font-size: 30px; line-height: 36px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .band, .band-major { padding: 40px 0; }
  .band-why, .band-how { padding-top: 0; }
  .lead { font-size: 18px; line-height: 27px; }
  [id] { scroll-margin-top: 80px; }
  .bar-in { height: 64px; gap: 10px; }
  .logo { font-size: 20px; }
  .bar-right { gap: 8px; }
  .cta-sm { height: 44px; min-width: 108px; padding: 0 12px; font-size: 14px; }
  .nav { padding: 4px 20px 12px; }
  .hero-in { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 40px; gap: 24px; }
  .hero-copy .cta { width: 100%; }
  .hero-photo { aspect-ratio: 3 / 2; }
  .hero-photo img { object-position: 50% 22%; }
  .sec-head { margin-bottom: 24px; gap: 10px; }
  .trio { grid-template-columns: 1fr; gap: 24px; }
  .trio .ph { display: none; }
  .trio-one { display: block; aspect-ratio: 3 / 2; margin-bottom: 24px; }
  .trio figcaption { font-size: 19px; line-height: 26px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li, .steps.long li { flex-direction: row; gap: 16px; padding: 16px 0; }
  .steps .n, .steps.long .n { font-size: 22px; min-width: 32px; width: 32px; padding-top: 3px; }
  .steps h3 { font-size: 19px; line-height: 26px; }
  .steps.long p { font-size: 17px; line-height: 26px; }
  .after { margin-top: 24px; gap: 16px; }
  .after .cta { width: 100%; }
  .start-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .start-in > div { display: contents; }
  .start-in h2 { order: 1; margin-bottom: 24px; }
  .start-in .lead-form { order: 2; max-width: none; padding: 20px; }
  .start-in .lead { order: 3; margin-top: 24px; }
  .start-in .talk { order: 4; margin-top: 12px; }
  .faq-in, .split { grid-template-columns: 1fr; gap: 24px; }
  .split .ph { aspect-ratio: 3 / 2; }
  .qa summary { font-size: 18px; }
  .qa p { padding-right: 0; }
  .page-head { padding: 36px 0 32px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .cols3 { grid-template-columns: 1fr; gap: 24px; }
  .start-slim .cta { width: 100%; }
  .foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; width: 100%; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-in { padding-top: 32px; padding-bottom: 40px; }
}
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
@media (max-width: 350px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo { font-size: 18px; }
  .cta-sm { min-width: 0; padding: 0 10px; font-size: 13.5px; }
  .bar-in { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cta { transition: none; } }
@media (max-width: 480px) { main table:not(.cmp) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
@media (max-width: 767px) { .foot nav a { text-align: left; } }

/* ---- Oct 13, second pass: alignment, text hierarchy, quieter secondary controls ---- */
.lead { font-size: 18px; line-height: 28px; font-weight: 400; }
.more { display: inline-block; font-size: 15px; line-height: 22px; font-weight: 400; color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; padding: 11px 0; margin: -11px 0; }
.faq-in .more { margin-top: 5px; }
.menu-btn { border: 0; background: none; color: var(--muted); }
.hero-photo { width: 100%; max-width: 536px; justify-self: end; }
.band-faq { padding: 64px 0; }
/* Benefits and steps: every description starts on the same line. The tallest title sets the row for all columns. */
.trio { column-gap: 32px; row-gap: 0; }
.trio figure { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 0; }
.trio figcaption { display: contents; }
.trio .t { display: block; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--ink); min-height: 56px; margin-top: 18px; }
.trio figcaption p { margin-top: 8px; }
.steps:not(.long) { column-gap: 28px; row-gap: 0; }
.steps:not(.long) li { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 0; padding-bottom: 28px; }
.steps:not(.long) li > div { display: contents; }
.steps:not(.long) .n { margin-bottom: 10px; }
.steps:not(.long) h3 { min-height: 56px; }
.steps:not(.long) p { margin-top: 8px; }
@media (min-width: 768px) { .start-in { align-items: start; } }
@media (min-width: 768px) and (max-width: 1023px) { .start-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
@media (min-width: 1024px) {
  .start-in { gap: 64px; }
  .start-in > div { max-width: 480px; }
}
@media (max-width: 1000px) { .steps:not(.long) h3 { min-height: 0; } }
@media (max-width: 767px) {
  .lead { font-size: 17px; line-height: 26px; }
  .band-faq { padding: 40px 0; }
  .hero-photo { max-width: none; }
  .trio { row-gap: 24px; }
  .trio figure { display: flex; flex-direction: column; grid-row: auto; }
  .trio figcaption { display: block; }
  .trio .t { min-height: 0; margin-top: 0; font-size: 19px; line-height: 26px; }
  .steps:not(.long) li { display: flex; flex-direction: row; grid-row: auto; gap: 16px; padding: 16px 0; }
  .steps:not(.long) li > div { display: flex; flex-direction: column; gap: 6px; }
  .steps:not(.long) .n { margin-bottom: 0; }
  .steps:not(.long) h3 { min-height: 0; }
  .steps:not(.long) p { margin-top: 0; }
  .after { gap: 12px; }
  .start-in .lead { font-size: 16px; line-height: 24px; color: var(--muted); margin-top: 16px; }
  .start-in .talk { margin-top: 12px; }
  .foot-in { padding-top: 32px; padding-bottom: 32px; }
}
@media (max-width: 359px) { .start-in .lead-form { padding: 16px; } }

/* ---- Oct 13: homepage "How it works" uses a small icon and "Step N" label in place of the numerals ---- */
.steps:not(.long) li { border-top: 0; padding-top: 0; }
.steps:not(.long) .lbl { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.steps:not(.long) .lbl svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
  .steps:not(.long) li { flex-direction: column; gap: 0; padding: 20px 0; }
  .steps:not(.long) li:first-child { padding-top: 0; }
  .steps:not(.long) li + li { border-top: 1px solid var(--line); }
  .steps:not(.long) li:last-child { padding-bottom: 0; }
}

/* ---- Homepage "How it works": approved layout. Intro and buttons left, five connected steps right. Scoped to #how. ---- */
#how.iap-process { padding: 88px 32px 88px; }
#how .iap-inner { width: 100%; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.65fr); grid-template-areas: 'intro steps' 'actions steps'; grid-template-rows: auto 1fr; column-gap: 48px; }
#how .iap-intro { grid-area: intro; }
#how .iap-intro p { font-size: 18px; line-height: 28px; color: #59646a; margin: 16px 0 0; max-width: 280px; }
#how .iap-actions { grid-area: actions; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 32px; }
#how .iap-secondary { color: #222b2f; font-size: 15px; line-height: 22px; font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; min-height: 36px; display: inline-flex; align-items: center; }
#how .iap-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; }
#how .iap-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; position: relative; margin: 0; padding: 0 0 28px; }
#how .iap-step:not(:last-child) { min-height: 110px; }
#how .iap-step:last-child { padding-bottom: 0; }
#how .iap-step:not(:last-child)::after { content: ''; position: absolute; top: 64px; bottom: 8px; left: 27.5px; width: 1px; background: #c4d5d2; }
#how .iap-marker { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #e3ecea; color: #1f5f5b; flex-shrink: 0; }
#how .iap-step-word { font-size: 11px; line-height: 14px; font-weight: 500; }
#how .iap-step-number { font-family: var(--serif); font-size: 27px; line-height: 28px; font-weight: 500; }
#how .iap-copy h3 { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 500; margin: 0 0 6px; letter-spacing: 0; }
#how .iap-copy p { font-size: 16px; line-height: 24px; font-weight: 400; color: #59646a; margin: 0; max-width: 500px; }
@media (max-width: 767px) { #how.iap-process { padding: 40px 20px 40px; } }
@media (max-width: 620px) {
  #how .iap-inner { display: flex; flex-direction: column; }
  #how .iap-intro { order: 0; margin-bottom: 32px; }
  #how .iap-steps { order: 1; }
  #how .iap-actions { order: 2; padding-top: 32px; gap: 12px; align-items: stretch; }
  #how .iap-intro p { font-size: 17px; line-height: 26px; margin-top: 12px; max-width: none; }
  #how .iap-step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
  #how .iap-step:not(:last-child) { min-height: 0; }
  #how .iap-step:last-child { padding-bottom: 0; }
  #how .iap-marker { width: 48px; height: 48px; }
  #how .iap-step-number { font-size: 23px; line-height: 24px; }
  #how .iap-step:not(:last-child)::after { left: 23.5px; top: 56px; }
  #how .iap-copy h3 { font-size: 19px; line-height: 26px; }
  #how .iap-actions .cta { width: 100%; }
  #how .iap-secondary { min-height: 44px; align-self: flex-start; }
}
@media (max-width: 350px) { #how.iap-process { padding-left: 16px; padding-right: 16px; } }

/* ================= Oct 14 design brief ================= */
/* 1. Homepage benefits: one photo beside one structured text column. Scoped to #why. */
#why.why { padding: 40px 32px 88px; }
#why .why-in { width: 100%; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 480px minmax(0, 1fr); grid-template-areas: 'photo head' 'photo list'; grid-template-rows: auto 1fr; column-gap: 64px; }
#why .why-head { grid-area: head; }
#why .why-photo { grid-area: photo; margin: 0; position: relative; min-height: 480px; border-radius: 4px; overflow: hidden; background: #f1f3f0; }
#why .why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 54% 50%; }
#why h2 { font-size: 40px; line-height: 46px; }
#why .why-intro { font-size: 18px; line-height: 28px; font-weight: 400; color: #59646a; margin-top: 16px; }
#why .why-list { grid-area: list; margin-top: 28px; }
#why .why-item + .why-item { border-top: 1px solid #dadfd9; margin-top: 24px; padding-top: 24px; }
#why .why-item h3 { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 500; color: #222b2f; }
#why .why-item p { font-size: 17px; line-height: 26px; font-weight: 400; color: #59646a; margin-top: 8px; }
#why .why-compare { display: flex; width: fit-content; align-items: center; min-height: 44px; margin: 13px 0 -11px; font-size: 15px; line-height: 22px; font-weight: 400; color: #222b2f; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 768px) and (max-width: 1099px) {
  #why .why-in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 32px; }
  #why .why-photo { min-height: 0; aspect-ratio: 4 / 5; align-self: start; }
  #why h2 { font-size: 34px; line-height: 40px; }
}
@media (max-width: 767px) {
  #why.why { padding: 0 20px 48px; }
  #why .why-in { display: block; }
  #why h2 { font-size: 30px; line-height: 36px; }
  #why .why-intro { font-size: 17px; line-height: 26px; margin-top: 12px; }
  #why .why-photo { min-height: 0; aspect-ratio: 3 / 2; margin-top: 24px; }
  #why .why-photo img { object-position: 60% 45%; }
  #why .why-list { margin-top: 24px; }
  #why .why-item + .why-item { margin-top: 20px; padding-top: 20px; }
  #why .why-item h3 { font-size: 19px; line-height: 26px; }
  #why .why-item p { font-size: 16px; line-height: 24px; }
}
@media (max-width: 350px) { #why.why { padding-left: 16px; padding-right: 16px; } }

/* 2. Au pair vs nanny comparison: a table from 640px, one block per topic below that. */
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 8px 0 12px; font-size: 16px; line-height: 24px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid #dadfd9; font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #222b2f; background: none; width: auto; }
.cmp thead th { background: #f1f3f0; font-size: 14px; line-height: 20px; font-weight: 500; width: 39%; }
.cmp thead th:first-child { width: 22%; }
.cmp tbody th { font-weight: 500; }
@media (max-width: 639px) {
  .cmp, .cmp tbody, .cmp tbody tr, .cmp tbody th, .cmp tbody td { display: block; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cmp tbody tr { padding: 20px 0; border-bottom: 1px solid #dadfd9; }
  .cmp tbody tr:first-child { border-top: 1px solid #dadfd9; }
  .cmp tbody th, .cmp tbody td { padding: 0; border: 0; }
  .cmp tbody th { font-size: 17px; line-height: 24px; font-weight: 500; }
  .cmp tbody td { margin-top: 16px; }
  .cmp tbody th + td { margin-top: 12px; }
  .cmp tbody td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: #222b2f; margin-bottom: 6px; }
}

/* 3. Homepage form: first and last name side by side on normal phones, stacked below 380px. */
.lead-form .field { min-width: 0; }
@media (max-width: 767px) { .lead-form .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } }
@media (max-width: 379px) { .lead-form .two { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* 4. Footer: brand column and two link columns, disclosure below, utility links on their own row. */
.foot-in { padding-top: 40px; padding-bottom: 32px; gap: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 240px) minmax(0, 240px); gap: 32px; align-items: start; }
.foot .foot-nav { display: contents; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-nav a { display: inline-block; font-size: 14px; line-height: 24px; font-weight: 400; color: #222b2f; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot .legal { margin-top: 24px; font-size: 14px; line-height: 22px; color: #59646a; max-width: 760px; }
.foot-util { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; line-height: 22px; }
.foot-util a { color: #59646a; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .foot-in { padding-top: 32px; padding-bottom: 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .foot-grid .logo { grid-column: 1 / -1; }
  .foot-nav ul { gap: 0; }
  .foot-nav a { display: flex; align-items: center; min-height: 44px; text-align: left; }
  .foot-nav a[dir="rtl"] { justify-content: flex-end; }
  /* Hebrew invitation: the whole block reads right to left on phones */
  .he-strip .wrap { direction: rtl; flex-direction: column; align-items: flex-start; gap: 0; }
  .he-strip p { text-align: right; }
  .he-strip a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 3px; }
}

/* ---- Homepage "How it works": horizontal on desktop (1100px and wider), unchanged vertical layout below. Scoped to #how. ---- */
@media (min-width: 1100px) {
  #how .iap-inner { display: block; }
  #how .iap-intro p { max-width: none; }
  #how .iap-steps { margin-top: 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  #how .iap-step { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; gap: 0; padding: 0; justify-items: start; }
  #how .iap-step:not(:last-child) { min-height: 0; }
  #how .iap-step:not(:last-child)::after { top: 27.5px; bottom: auto; left: 28px; width: calc(100% + 24px); height: 1px; }
  #how .iap-marker { position: relative; z-index: 1; }
  #how .iap-copy { display: contents; }
  #how .iap-copy h3 { margin: 16px 0 0; min-height: 56px; }
  #how .iap-copy p { margin-top: 8px; max-width: none; }
  #how .iap-actions { flex-direction: row; align-items: center; gap: 24px; padding-top: 32px; }
}

/* ================= Hebrew candidate page (RTL), Oct 14 ================= */
[dir="rtl"] .cta svg { transform: scaleX(-1); }
[dir="rtl"] .qa p { padding: 0 0 22px 48px; }
[dir="rtl"] .iap-step-word { font-size: 12px; }
[dir="rtl"] #how.iap-process { padding-top: 88px; }
[dir="rtl"] #how .iap-intro p { max-width: 340px; }
[dir="rtl"] #how .iap-step:not(:last-child)::after { left: auto; right: 27.5px; }
[dir="rtl"] #why .why-intro + .why-intro { margin-top: 12px; }
[dir="rtl"] .he-notes { max-width: 1120px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #dadfd9; display: flex; flex-direction: column; gap: 10px; }
[dir="rtl"] .he-notes p { font-size: 14px; line-height: 22px; color: #59646a; max-width: 760px; }
[dir="rtl"] .he-sub { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 500; margin: 32px 0 8px; }
[dir="rtl"] .he-fit li { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
[dir="rtl"] .he-fit strong { font-weight: 500; color: #222b2f; }
[dir="rtl"] .he-split { align-items: start; }
[dir="rtl"] .he-split .ph { position: sticky; top: 100px; }
[dir="rtl"] .he-faq { border-top: 1px solid #dadfd9; }
[dir="rtl"] .he-apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: start; }
[dir="rtl"] .he-apply-copy { max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
[dir="rtl"] .he-apply-copy .lead, [dir="rtl"] .he-apply-copy .talk { margin-top: 0; }
[dir="rtl"] .he-apply form { background: #fff !important; border: 1px solid #dadfd9; border-radius: 6px !important; min-width: 0; }
[dir="rtl"] .foot-nav a[dir="ltr"] { text-align: right; }
@media (min-width: 768px) { [dir="rtl"] #why .why-photo { min-height: 0; aspect-ratio: 4 / 5; align-self: start; } }
@media (min-width: 1100px) {
  [dir="rtl"] #how .iap-intro p { max-width: 640px; }
  [dir="rtl"] #how .iap-step:not(:last-child)::after { right: 28px; }
}
@media (max-width: 999px) {
  [dir="rtl"] .he-apply { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  [dir="rtl"] .he-apply-copy { max-width: none; }
}
@media (max-width: 767px) {
  [dir="rtl"] #how.iap-process { padding-top: 40px; }
  [dir="rtl"] .qa p { padding-left: 0; }
  [dir="rtl"] .he-split .ph { position: static; }
  [dir="rtl"] .he-apply form { padding: 20px !important; }
  [dir="rtl"] .foot-nav a, [dir="rtl"] .foot-nav a[dir="ltr"] { text-align: right; justify-content: flex-start; }
  [dir="rtl"] .foot-nav a[dir="ltr"] { justify-content: flex-end; }
  [dir="rtl"] .he-notes { margin-top: 28px; }
}
@media (max-width: 620px) {
  [dir="rtl"] #how .iap-step:not(:last-child)::after { right: 23.5px; }
  [dir="rtl"] #how .iap-intro p { max-width: none; }
}
#why .why-item { display: block; }

/* Privacy and other plain text pages */
.legal-text { gap: 14px; }
.legal-text h2 { font-size: 26px; line-height: 32px; margin-top: 22px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text strong { font-weight: 500; color: #222b2f; }
.legal-text p { color: #3f474c; }

/* ================= Oct 15: Marty's feedback. Green buttons, sections brought back, green form band ================= */
.hero-flags { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); margin-bottom: 20px; }
.hero-flags .for { color: var(--muted); font-weight: 400; }
.flag { width: 24px; height: 17px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); flex: none; }
.sec-head-wide { max-width: 760px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card3 { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 24px; }
.card3 h3 { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--ink); }
.card3 p { font-size: 16px; line-height: 24px; color: var(--muted); margin-top: 8px; }
.after-line { font-size: 14px; line-height: 22px; color: var(--muted); margin-top: 24px; max-width: 760px; }
.after-line a { color: var(--ink); }
.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #c9d0cc; }
.match-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.match-head > div { max-width: 640px; }
.match-head .lead { margin-top: 14px; }
.flagpill { display: inline-flex; align-items: center; gap: 14px; padding: 11px 18px; border: 1px solid #4a555b; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; color: #fff; white-space: nowrap; }
.flagpill > span { display: inline-flex; align-items: center; gap: 8px; }
.flagpill .dash { width: 36px; border-top: 2px dashed #8e9a97; }
.flagpill .flag { width: 22px; height: 15px; box-shadow: none; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mgrid > div { background: #2e383d; border-radius: 4px; padding: 20px 22px; }
.mgrid h3 { font-size: 17px; line-height: 24px; font-weight: 500; }
.mgrid p { font-size: 15px; line-height: 22px; color: #c9d0cc; margin-top: 6px; }
#childcare .split .ph { aspect-ratio: 4 / 4.4; }
#childcare .lead { margin-top: 16px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 24px; color: var(--muted); }
.checks strong { font-weight: 500; color: var(--ink); }
.checks .ck { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--cta); }
.week-in { margin-top: 72px; }
.h3-serif { font-family: var(--serif); font-size: 32px; line-height: 38px; font-weight: 500; }
.week-in .lead { margin-top: 14px; }
.week-in .note { margin-top: 16px; }
.cost-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.cost-in .lead { margin-top: 16px; }
.cost-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 8px 32px 24px; }
.cost-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cost-t { font-size: 17px; line-height: 24px; font-weight: 500; color: var(--ink); }
.cost-s { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 2px; }
.cost-row .amt { font-family: var(--serif); font-size: 26px; line-height: 30px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.cost-row .amt .per { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); }
.cost-card .fine { margin-top: 16px; font-size: 13px; line-height: 19px; }
.start.on-green { background: var(--cta); color: #fff; }
.start.on-green h2 { color: #fff; }
.start.on-green .lead { color: #d9e6e4; }
.start.on-green .lead-form { border-color: transparent; }
.start.on-green .in-text:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
.start.on-green .cta { background: var(--ink); }
.start.on-green .cta:hover { background: #000; }
@media (max-width: 1000px) {
  .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-in { gap: 40px; }
}
@media (max-width: 900px) { .cost-in { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 767px) {
  .hero-flags { margin-bottom: 16px; }
  .cards3 { gap: 12px; }
  .card3 { padding: 20px; }
  .match-head { margin-bottom: 24px; gap: 20px; }
  .flagpill { white-space: normal; padding: 10px 14px; }
  .mgrid { gap: 10px; }
  #childcare .split .ph { aspect-ratio: 3 / 2; }
  .week-in { margin-top: 40px; }
  .h3-serif { font-size: 28px; line-height: 34px; }
  .week { padding: 14px 12px 10px; }
  .cost-card { padding: 4px 20px 20px; }
  .cost-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; }
  .cost-row .amt { font-size: 24px; }
}
@media (max-width: 620px) { .cards3, .mgrid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .flagpill { gap: 10px; } .flagpill .dash { width: 20px; } }
.week-in .note { grid-column: 1 / -1; margin-top: 16px; }
/* Oct 15 fix: sample week as a day-by-day list on phones and tablets, calendar graphic from 1100px where its labels have room */
.week-agenda { display: none; list-style: none; margin: 0; padding: 4px 0 8px; }
@media (max-width: 1099px) {
  .week svg[role="img"] { display: none !important; }
  .week-agenda { display: flex; flex-direction: column; gap: 16px; }
  .week-agenda li { display: flex; flex-direction: column; gap: 2px; }
  .week-agenda strong { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
  .week-agenda span { font-size: 14px; line-height: 20px; color: var(--muted); }
  .week { padding: 18px 16px 12px; }
}
/* Oct 15: team photos (placeholder boxes until Marissa's and Ravit's photos arrive) */
.ph-wait { aspect-ratio: 1 / 1; width: 100%; background: #222b2f; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #c9d0cc; font-size: 13px; line-height: 18px; }
.ph-wait::after { content: "Photo"; }
.ph-wait.ph-sm { width: 64px; height: 64px; flex: none; border-radius: 50%; font-size: 11px; }
.team-grid { gap: 24px; }
.team-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; }
.person { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.person p { font-size: 16px; line-height: 24px; color: var(--muted); }
.person strong { font-weight: 500; color: var(--ink); display: block; }
.start.on-green .person p { color: #d9e6e4; }
.start.on-green .person strong { color: #fff; }
.start.on-green .ph-wait { background: #164744; color: #d9e6e4; }
[dir="rtl"] .he-apply-copy .person { margin-top: 0; }
@media (max-width: 767px) {
  .team-card { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .start-in .person { order: 5; margin-top: 16px; }
}
@media (max-width: 420px) { .team-card { grid-template-columns: 1fr; } .team-card .ph-wait { max-width: 160px; } }
/* Oct 15 review pass: form step label and phone order, form page gutters, About heading size */
.step-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.fit-form .fsec:first-of-type { padding-top: 24px; }
.h1-about { font-size: 50px; line-height: 1.04; }
@media (max-width: 960px) { .h1-about { font-size: 44px; line-height: 48px; } }
@media (max-width: 767px) {
  .start-in .person { order: 2; margin-top: 0; margin-bottom: 20px; }
  .start-in .lead-form { order: 3; }
  .start-in .lead { order: 4; }
  .fit-form { padding: 8px 20px 24px !important; }
  .h1-about { font-size: 38px; line-height: 42px; }
}
/* Oct 15: pricing amounts in a left-aligned column so the dollar signs and words line up */
@media (min-width: 768px) {
  .cost-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: baseline; }
  .cost-row .amt { text-align: left; justify-self: start; }
}
/* Oct 15: pricing amounts in their own left-aligned column so the first characters line up */
.cost-row { display: grid; grid-template-columns: minmax(0, 1fr) 156px; align-items: baseline; gap: 24px; }
.cost-row .amt { text-align: left; }
@media (max-width: 767px) { .cost-row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ================= Oct 15 polish pass ================= */
/* Pricing card: label and description on the left, value in its own column, aligned to the label's baseline */
.cost-card { padding: 4px 32px 24px; }
.cost-row { display: grid; grid-template-columns: minmax(0, 1fr) 164px; grid-template-areas: "t v" "s v"; column-gap: 24px; row-gap: 2px; align-items: start; padding: 20px 0; }
.cost-row > div:first-child { display: contents; }
.cost-t { grid-area: t; }
.cost-s { grid-area: s; margin-top: 0; }
.cost-row .amt { grid-area: v; text-align: left; font-family: var(--serif); font-size: 26px; line-height: 24px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.cost-row .amt .per { font-family: var(--sans); font-size: 14px; line-height: 20px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.cost-row .amt-text { font-family: var(--sans); font-size: 18px; line-height: 24px; font-weight: 500; }
.cost-card .fine { margin-top: 20px; }
@media (max-width: 767px) {
  .cost-card { padding: 0 20px 20px; }
  .cost-row { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "v" "s"; row-gap: 0; padding: 18px 0; }
  .cost-row .amt { margin: 4px 0 6px; }
  .cost-row .amt-text { margin: 2px 0 4px; }
}
/* Stronger moments: hero lead, the "why" intro, and one green call-to-action band everywhere */
.hero-copy .lead { font-size: 20px; line-height: 30px; color: #3f474c; max-width: 30em; }
#why .why-intro { font-size: 20px; line-height: 30px; color: #3f474c; }
.start-slim.band-soft { background: var(--cta); color: #fff; }
.start-slim.band-soft h2 { color: #fff; }
.start-slim.band-soft .lead { color: #d9e6e4; }
.start-slim.band-soft .cta { background: var(--ink); }
.start-slim.band-soft .cta:hover { background: #000; }
.start.on-green .talk { color: #d9e6e4; }
.start.on-green .talk a { color: #fff; }
.start.on-green .ph-wait { background: #164744; color: #d9e6e4; }
/* One radius, one card treatment */
.lead-form, .week, .card, .cost-card, .card3 { border-radius: 4px; }
[dir="rtl"] .he-apply form { border-radius: 4px !important; }
/* Homepage live-in section: photo matched to the text block, note tucked under the graphic */
#childcare .split { align-items: center; }
#childcare .split .ph { aspect-ratio: 1 / 1; }
.week-in .note { margin-top: 12px; }
/* Sample week: the graphic is full width on Why an au pair, so it can show from 640px there; the homepage keeps the 1100px switch */
@media (min-width: 640px) and (max-width: 1099px) {
  #week:not(.week-in) .week svg[role="img"] { display: block !important; }
  #week:not(.week-in) .week-agenda { display: none; }
}
@media (max-width: 1099px) { #childcare .week .legend-swatch { display: none; } }
/* Links that should not break across lines */
.after-line a { white-space: nowrap; }
/* Who we look for: breathing room under the three-column intro */
.band[style*="padding-bottom:0"] { padding-bottom: 8px !important; }
/* About page: the old inline typography, brought in line with the inner pages */
.foot .logo { font-size: 22px; }
.start.on-green .btn { background: var(--ink); color: #fff; }
.start.on-green .btn:hover { background: #000; }

/* ================= Oct 15: Marty V5 ================= */
/* Why Israeli au pairs: photo beside three benefit boxes, on the soft band */
.why2-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.why2-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #e8ebe6; }
.why2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.why2-copy .lead { margin-top: 14px; }
.why2-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.why2-cards .card3 h3 { font-size: 19px; line-height: 26px; }
@media (max-width: 1000px) { .why2-in { gap: 32px; } }
@media (max-width: 767px) {
  .why2-in { grid-template-columns: 1fr; gap: 24px; }
  .why2-photo { aspect-ratio: 3 / 2; }
  .why2-cards { margin-top: 20px; }
}
/* Dark section: link line */
.dark .after-line { color: #c9d0cc; }
.dark .after-line a { color: #fff; }
/* Candidate introduction example */
.illus-label { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--ink); color: #fff; font-size: 14px; line-height: 20px; padding: 8px 14px; border-radius: 4px; margin: -8px 0 20px; }
.illus-label span { font-weight: 600; }
.shortlist { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.shortlist-side { display: grid; gap: 20px; }
.profile-full, .profile-mini { background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.profile-full { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.profile-photo { position: relative; background: #e8ebe6; }
.profile-full .profile-photo { min-height: 100%; }
.profile-full .profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.profile-mini { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
.profile-mini .profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.illus-tag { position: absolute; left: 10px; top: 10px; background: rgba(34,43,47,0.92); color: #fff; font-size: 11px; line-height: 16px; font-weight: 600; padding: 4px 8px; border-radius: 3px; max-width: calc(100% - 20px); }
.profile-body { padding: 22px 24px 24px; }
.profile-mini .profile-body { padding: 16px 18px 18px; }
.profile-name { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 24px; line-height: 30px; font-weight: 500; color: var(--ink); }
.profile-name .he-name { font-size: 18px; color: var(--muted); }
.profile-mini .profile-name { font-size: 20px; line-height: 26px; }
.profile-city { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 2px; }
.profile-facts { margin: 16px 0 0; display: grid; gap: 10px; }
.profile-facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 22px; }
.profile-facts dt { font-weight: 500; color: var(--ink); margin: 0; }
.profile-facts dd { margin: 0; color: var(--muted); }
.profile-why { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; color: var(--muted); }
.profile-why strong { font-weight: 500; color: var(--ink); }
.profile-mini p { font-size: 15px; line-height: 22px; color: var(--muted); margin-top: 10px; }
#intro .note { margin-top: 20px; }
@media (max-width: 1000px) {
  .shortlist { grid-template-columns: 1fr; }
  .shortlist-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .profile-full { grid-template-columns: 1fr; }
  .profile-full .profile-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .shortlist-side { grid-template-columns: 1fr; }
  .profile-mini { grid-template-columns: 96px minmax(0, 1fr); }
  .profile-facts div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .illus-label { margin-top: 0; }
}
@media (max-width: 400px) { .profile-mini { grid-template-columns: 1fr; } .profile-mini .profile-photo { aspect-ratio: 4 / 3; } }
/* Team photos in place of the placeholder boxes */
.team-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
img.ph-sm { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }

/* ================= Oct 15: families / candidates switch in the sticky bar ================= */
.bar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.side-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); flex: none; }
.side-switch a { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.side-switch a:hover { color: var(--ink); }
.side-switch a.on { background: var(--ink); color: #fff; cursor: default; }
.sw-flag { display: none; width: 18px; height: 13px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.nav .nav-he { display: none; }
.hero-flag-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.hero-flags { gap: 12px; }
@media (max-width: 1000px) { .nav .nav-he { display: block; } }
@media (max-width: 767px) {
  /* Phones: both flags show as a small toggle; the current side is the dark one (v61) */
  .bar-left { gap: 8px; }
  .logo { font-size: 22px; }
  .side-switch { padding: 2px; gap: 2px; }
  .side-switch a { height: 26px; width: 28px; padding: 0; justify-content: center; gap: 0; }
  .sw-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sw-flag { display: block; width: 18px; height: 13px; }
  .bar-left { flex: none; }
  .bar-in { gap: 6px; }
  .logo { font-size: 19px; }
  .cta-sm { min-width: 0; padding: 0 9px; font-size: 13px; }
  .bar-right { gap: 6px; }
  .menu-btn { width: 36px; height: 40px; }
}
@media (max-width: 400px) { .bar-in { gap: 4px; } .bar-left { gap: 6px; } .logo { font-size: 17px; } .side-switch a { width: 26px; } .cta-sm { font-size: 12.5px; padding: 0 8px; } .menu-btn { width: 32px; } }
@media (max-width: 368px) { .logo { font-size: 16px; } .cta-sm { font-size: 12px; padding: 0 7px; } .side-switch a { width: 24px; } }
@media (max-width: 350px) { .logo { font-size: 16px; } .side-switch { display: none; } .cta-sm { font-size: 12px; padding: 0 7px; } }
[dir="rtl"] .bar-left { flex-direction: row-reverse; }
/* Oct 15: fill the text columns beside the pricing card and the form */
.list-head { font-family: var(--sans); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); margin-top: 28px; }
.cost-in .checks { margin-top: 12px; }
.start .list-head { color: #c9d9d7; }
.next-steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; color: #d9e6e4; }
.next-steps .n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; font-size: 13px; line-height: 24px; text-align: center; font-weight: 500; }
@media (max-width: 767px) {
  .start-in .list-head { order: 6; margin-top: 20px; }
  .start-in .next-steps { order: 7; }
}
/* Temporary banner on the English review copy of the candidate page */
.review-note { background: #fff3c4; color: #5a4a00; font-size: 14px; line-height: 20px; padding: 10px 0; }
/* Candidate page components, direction-independent (the English review copy renders LTR) */
.he-notes { max-width: 1120px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #dadfd9; display: flex; flex-direction: column; gap: 10px; }
.he-notes p { font-size: 14px; line-height: 22px; color: #59646a; max-width: 760px; }
.he-sub { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 500; margin: 32px 0 8px; }
.he-fit li { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
.he-fit strong { font-weight: 500; color: #222b2f; }
.he-split { align-items: start; }
.he-split .ph { position: sticky; top: 100px; }
.he-faq { border-top: 1px solid #dadfd9; }
.he-apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: start; }
.he-apply-copy { max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.he-apply-copy .lead, .he-apply-copy .talk { margin-top: 0; }
.he-apply form { background: #fff !important; border: 1px solid #dadfd9; border-radius: 4px !important; min-width: 0; }
.he-apply-copy .person { margin-top: 0; }
@media (max-width: 999px) { .he-apply { grid-template-columns: minmax(0, 1fr); gap: 24px; } .he-apply-copy { max-width: none; } }
@media (max-width: 767px) { .he-split .ph { position: static; } .he-apply form { padding: 20px !important; } .he-notes { margin-top: 28px; } }
/* Form rows: text inputs side by side line up even when one label wraps; chip groups stack instead of sharing a row */
.form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.two .field:has(> .in-text), .form2 .field:has(> .in-text) { display: grid; grid-template-rows: 1fr auto; gap: 8px; align-self: stretch; }
.two .field:has(> .in-text) > label, .form2 .field:has(> .in-text) > label { align-self: end; }
.form2:has(.fchip) { grid-template-columns: 1fr; }
@media (max-width: 480px) { .form2 { grid-template-columns: 1fr; } }
/* Phones: form cards use the same 20px padding as the page gutter */
@media (max-width: 767px) { main form.card { padding: 20px !important; } }
/* Oct 19: candidate page v2 (Marissa's edits): hero facts, day in the life, essentials, eligibility checklist */
.hero-copy .hero-p { font-size: 17px; line-height: 26px; color: var(--muted); max-width: 32em; margin-top: 16px; }
.hero-copy .hero-facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); }
.hero-copy .hero-facts span + span::before { content: "\00b7"; margin: 0 10px; color: #9aa5a2; font-weight: 400; }
.hero-copy .hero-sub { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 14px; }
.day { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px 28px 20px; }
.day-head p { font-size: 15px; line-height: 22px; color: var(--muted); margin-top: 6px; }
.day-row { margin-top: 28px; }
.day-row h4 { font-family: var(--sans); font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.day-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: dstep; }
.day-step { position: relative; background: var(--soft); border-radius: 4px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.day-step + .day-step::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; border-top: 2px solid #c4d5d2; }
.day-step strong { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--ink); }
.day-step p { font-size: 14px; line-height: 20px; color: var(--muted); }
.day-tag { display: inline-flex; align-self: flex-start; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: #e3ecea; color: #1f5f5b; }
.tag-off .day-tag { background: #f3e9d5; color: #7a5a1e; }
.tag-maybe .day-tag { background: #eceae4; color: #59646a; }
.day .note { margin-top: 22px; font-size: 13px; line-height: 19px; }
.ess-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ess-list { margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 20px 24px; gap: 14px; }
.ess-list li { font-size: 17px; line-height: 26px; }
.ess-list strong { font-weight: 600; }
.fit-list { margin-top: 16px; gap: 10px; }
.fit-list li { font-size: 16px; line-height: 24px; }
#beyond .ph img, #fit .ph img { object-fit: cover; width: 100%; height: 100%; }
@media (max-width: 1000px) { .ess-in { gap: 40px; } }
@media (max-width: 900px) { .ess-in { grid-template-columns: 1fr; gap: 24px; } .day-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .day-step + .day-step::before { display: none; } }
@media (max-width: 767px) {
  .hero-copy .hero-facts { font-size: 14px; }
  .day { padding: 18px 16px 14px; margin-top: 28px; }
  .day-row { margin-top: 22px; }
  .hero-copy .hero-sub { width: 100%; text-align: center; }
}
@media (max-width: 480px) { .day-steps { grid-template-columns: 1fr; gap: 8px; } .hero-copy .hero-facts span + span::before { margin: 0 8px; } }
#beyond .ph { aspect-ratio: 4 / 3.4; }
@media (max-width: 767px) { #beyond .ph { aspect-ratio: 3 / 2; } }
@media (max-width: 767px) { .hero-copy .hero-facts { flex-direction: column; gap: 4px; } .hero-copy .hero-facts span + span::before { content: none; } }
.contact-fit { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.contact-fit .cta { align-self: flex-start; }
.contact-fit .hero-sub { font-size: 14px; line-height: 20px; color: var(--muted); }
@media (max-width: 767px) { .contact-fit { padding: 20px; } .contact-fit .cta { width: 100%; } }
/* Oct 20: article pages (.art) on the current system */
.art { max-width: 760px; margin: 0 auto; padding: 40px 32px 96px; }
.art-head { display: flex; flex-direction: column; gap: 18px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }
.art-tag { background: var(--soft); color: var(--cta); font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.art-meta .dot { color: #9aa5a2; }
.art h1 { font-family: var(--serif); font-size: 44px; line-height: 50px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.art-lead { font-size: 19px; line-height: 29px; color: #3f474c; }
.art-photo { margin: 32px 0 8px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--soft); }
.art-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.art p { font-size: 17px; line-height: 28px; color: #2e383d; margin: 0 0 20px; }
.art h2 { font-family: var(--serif); font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -0.01em; margin: 44px 0 14px; color: var(--ink); scroll-margin-top: 90px; }
.art ul { margin: 0 0 20px; padding-left: 22px; }
.art li { font-size: 17px; line-height: 27px; color: #2e383d; margin-bottom: 10px; }
.art li strong { font-weight: 500; color: var(--ink); }
.art .callout { background: var(--soft); border-radius: 4px; padding: 22px 24px; margin: 28px 0; }
.art .callout p { font-size: 16px; line-height: 26px; margin: 0; }
.art .callout .eyebrow { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cta); margin-bottom: 8px; }
.art .callout-cta { background: #fff; border: 1px solid var(--line); }
.art .callout-cta .cta { margin-top: 16px; }
.art .callout-cta .art-sub { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 10px; }
.art .cmp { margin: 8px 0 12px; }
.art-note, .art-sources, .art-disclosure { font-size: 14px !important; line-height: 21px !important; color: var(--muted) !important; }
.art-note { margin: 0 0 8px !important; }
.art-faq { margin-bottom: 28px; }
.art-faq .qa p { font-size: 16px; line-height: 25px; margin: 0; }
.art-sources { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--line); }
.art-disclosure { margin-bottom: 0 !important; }
@media (max-width: 767px) {
  .art { padding: 24px 20px 64px; }
  .art h1 { font-size: 34px; line-height: 40px; }
  .art-lead { font-size: 17px; line-height: 27px; }
  .art h2 { font-size: 26px; line-height: 32px; margin-top: 36px; }
  .art p, .art li { font-size: 16px; line-height: 26px; }
  .art-photo { margin-top: 24px; aspect-ratio: 4 / 3; }
  .art .callout { padding: 18px; }
  .art .callout-cta .cta { width: 100%; }
}
/* Oct 20: resources index */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.res-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px; color: var(--ink); text-decoration: none; }
.res-feature + .res-feature { margin-top: 20px; }
.res-feature:hover h2 { color: var(--cta); }
.res-photo { margin: 0; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--soft); }
.res-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.res-body { display: flex; flex-direction: column; gap: 12px; }
.res-body h2 { font-family: var(--serif); font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -0.01em; }
.res-body p { font-size: 17px; line-height: 27px; color: var(--muted); }
.res-body .more { margin-top: 4px; }
.res-coming { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.res-coming h2 { font-family: var(--sans); font-size: 16px; line-height: 22px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.res-coming ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.res-coming li { font-size: 17px; line-height: 26px; color: var(--ink); padding-left: 18px; position: relative; }
.res-coming li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #c4d5d2; }
.compare-line { margin-top: 12px; }
.compare-line a { color: var(--cta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 900px) { .res-feature { grid-template-columns: 1fr; gap: 20px; padding: 16px; } .res-coming ul { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .res-body h2 { font-size: 24px; line-height: 30px; } .res-body p { font-size: 16px; line-height: 25px; } }
/* Oct 20: six nav items; keep each on one line and tighten the gap on narrow desktops */
@media (min-width: 1001px) { .nav a { white-space: nowrap; } }
@media (min-width: 1001px) and (max-width: 1240px) { .nav { gap: 20px; } .bar-in { gap: 16px; } }
.art .art-steps { margin: 0 0 20px; padding-left: 22px; }
.art .art-steps li { font-size: 17px; line-height: 27px; color: #2e383d; margin-bottom: 12px; padding-left: 4px; }
.art .art-steps li strong { font-weight: 500; color: var(--ink); }

/* v47: resources page in two sections, candidate articles */
.res-section + .res-section { border-top: 1px solid var(--line); }
.res-h { font-family: var(--serif); font-size: 36px; line-height: 42px; font-weight: 500; letter-spacing: -0.01em; }
.res-sub { font-size: 18px; line-height: 28px; color: var(--muted); margin: 10px 0 28px; max-width: 40em; }
.res-coming h3 { font-family: var(--sans); font-size: 16px; line-height: 22px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.res-go { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.res-go .art-sub { font-size: 14px; line-height: 20px; color: var(--muted); }
.art .art-list { margin: 0 0 20px; padding-left: 22px; }
.art .art-list li { font-size: 17px; line-height: 27px; color: #2e383d; margin-bottom: 10px; padding-left: 4px; }
.art .art-list li strong { font-weight: 500; color: var(--ink); }
@media (max-width: 767px) { .res-h { font-size: 28px; line-height: 34px; } .res-sub { font-size: 16px; line-height: 25px; } .res-go .cta { width: 100%; } }
/* v48: two big entry cards on the Resources page */
.res-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.res-pick-card { display: flex; flex-direction: column; gap: 8px; padding: 28px 28px 24px; background: #fff; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.res-pick-card:hover { border-color: var(--cta); transform: translateY(-2px); }
.res-pick-cand { background: var(--soft); }
.res-pick-k { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cta); }
.res-pick-t { font-family: var(--serif); font-size: 26px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.res-pick-d { font-size: 16px; line-height: 25px; color: var(--muted); }
.res-pick-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--cta); }
.res-pick-go svg { width: 18px; height: 18px; }
.res-pick-card:hover .res-pick-go { text-decoration: underline; text-underline-offset: 3px; }
.res-section { scroll-margin-top: 24px; }
@media (max-width: 767px) { .res-pick { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; } .res-pick-card { padding: 22px 20px 20px; } .res-pick-t { font-size: 22px; line-height: 28px; } }
/* v55: candidate page opens with the form; its heading is the page h1 but keeps the section-heading size */
.apply-h1 { font-size: 40px; line-height: 46px; }
.hero-moved .hero-in { padding-top: 72px; }
@media (max-width: 767px) { .apply-h1 { font-size: 30px; line-height: 36px; } .hero-moved .hero-in { padding-top: 40px; } }
/* v56: candidate page opener: bigger headline, photo and facts fill the left column, warmer Ravit block, compact "next chapter" band */
.apply-h1 { font-size: 60px; line-height: 64px; max-width: 11em; }
.he-apply { align-items: start; gap: 72px; }
.he-apply-copy { max-width: 520px; gap: 18px; }
.start.on-green .apply-facts { margin: 4px 0 0; color: #fff; font-size: 16px; line-height: 24px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.start.on-green .apply-facts span { white-space: nowrap; }
.start.on-green .apply-facts span:not(:last-child)::after { content: "·"; margin-left: 14px; color: #a8c8c4; }
.person-lg { margin-top: 6px; gap: 18px; }
.person-lg .ph-sm { width: 80px; height: 80px; border: 3px solid rgba(255,255,255,.85); }
.start.on-green .person-lg strong { color: #fff; font-size: 18px; line-height: 26px; }
.start.on-green .person-lg p { font-size: 16px; line-height: 24px; }
.apply-photo { margin: 6px 0 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: #1a4d49; }
.apply-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.start.on-green .he-apply-copy .talk { color: #c8d8d5; font-size: 14px; line-height: 22px; margin-top: 2px; }
.start.on-green .he-apply-copy .talk a { color: #fff; }
.chapter .chapter-in { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.chapter .chapter-in .lead { margin: 0; }
.chapter .chapter-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; }
.chapter .chapter-cta .hero-sub { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
#how.iap-process { padding-bottom: 64px; }
.he-notes { margin-top: 32px; }
@media (max-width: 1000px) { .apply-h1 { font-size: 48px; line-height: 54px; } }
@media (max-width: 767px) {
  .apply-h1 { font-size: 38px; line-height: 42px; }
  .apply-photo { display: none; }
  .he-apply-copy { gap: 14px; }
}
@media (max-width: 767px) {
  .he-apply { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .start.on-green .apply-facts { flex-direction: column; gap: 4px; }
  .start.on-green .apply-facts span:not(:last-child)::after { content: none; margin: 0; }
}
/* v57: calmer opener. Left column: headline, lead, facts, Ravit, vertically centered against the form. Disclosure as one small line under the block. Photo back in the "next chapter" band, height capped. */
.he-apply-calm { align-items: start; }
.he-apply-calm .he-apply-copy { position: sticky; top: 96px; }
.he-apply-calm .he-apply-copy { gap: 22px; }
.apply-fine { margin-top: 28px; }
.start.on-green .apply-fine .talk { font-size: 13.5px; line-height: 21px; color: #b9cdc9; max-width: 980px; margin: 0; }
.start.on-green .apply-fine .talk a { color: #fff; }
.chapter .chapter-in { max-width: 1184px; margin: 0 auto; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.chapter .chapter-copy { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.chapter .chapter-cta { align-items: flex-start; }
.chapter .chapter-photo { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 5 / 4; max-height: 440px; }
.chapter .chapter-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
@media (max-width: 767px) {
  .he-apply-calm .he-apply-copy { position: static; }
  .apply-fine { margin-top: 20px; }
  .chapter .chapter-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .chapter .chapter-photo { aspect-ratio: 4 / 3; max-height: none; }
}
/* v58: hero back on top in its original style; the form is the next section with its copy pinned */
.hero-top .hero-in { padding-top: 56px; padding-bottom: 64px; }
.hero-top .hero-sub { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
@media (max-width: 767px) { .hero-top .hero-in { padding-top: 28px; padding-bottom: 36px; } }
/* v59: eligibility form as three visible steps side by side */
.apply-wide .apply-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: end; margin-bottom: 28px; }
.apply-wide .apply-head .eyebrow { color: #a8c8c4; }
.apply-wide .apply-head .lead { margin-top: 10px; font-size: 26px; line-height: 34px; color: #fff; font-family: var(--serif); font-weight: 500; }
.apply-wide .apply-head .person { margin: 0; justify-self: end; }
.apply-wide .form-wide { background: #fff; border: 1px solid #dadfd9; border-radius: 6px; padding: 28px 28px 24px; color: var(--ink); }
.apply-wide .fsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.apply-wide .fcol { display: flex; flex-direction: column; gap: 16px; padding: 0 28px; border-inline-start: 1px solid var(--line); min-width: 0; }
.apply-wide .fcol:first-child { padding-inline-start: 0; border-inline-start: 0; }
.apply-wide .fcol:last-child { padding-inline-end: 0; }
.apply-wide .fstep { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--cta); }
.apply-wide .fnum { width: 28px; height: 28px; border-radius: 50%; background: var(--cta); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.apply-wide .ftitle { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.apply-wide .fcol .btn { margin-top: 8px; }
.apply-wide .fcol > p { font-size: 12.5px; line-height: 19px; color: var(--muted); }
.apply-wide .apply-fine { margin-top: 20px; }
@media (max-width: 1000px) {
  .apply-wide .fsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .apply-wide .fcol:nth-child(3) { grid-column: 1 / -1; padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .apply-wide .apply-head { grid-template-columns: minmax(0, 1fr); }
  .apply-wide .apply-head .person { justify-self: start; }
}
@media (max-width: 767px) {
  .apply-wide .fsteps { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .apply-wide .fcol { padding: 0; border-inline-start: 0; }
  .apply-wide .fcol:nth-child(2), .apply-wide .fcol:nth-child(3) { border-top: 1px solid var(--line); padding-top: 20px; }
  .apply-wide .form-wide { padding: 20px 16px; }
  .apply-wide .apply-head .lead { font-size: 22px; line-height: 29px; }
}
/* v60: Hebrew candidate page on the v59 layout */
[dir="rtl"] .day-step + .day-step::before { left: auto; right: -12px; }
.day-steps.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#next .wrap { max-width: 820px; }
#next p + p { margin-top: 12px; }
#next .lead-strong { font-family: var(--serif); font-size: 24px; line-height: 32px; margin-top: 24px; }
@media (max-width: 900px) { .day-steps.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .day-steps.n3 { grid-template-columns: 1fr; } }
#how .iap-ps p + p { margin-top: 8px; }
@media (min-width: 1100px) { #how .iap-ps { margin-top: 8px; } #how .iap-ps p { margin-top: 0; } }
/* v62: side switch shows word + flag on every width; selected side is the white raised segment on a gray track */
.side-switch { background: var(--soft); border-color: var(--line); }
.side-switch a { color: var(--muted); }
.side-switch a.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.10), 0 0 0 1px var(--line); }
.side-switch a[lang="he"] { flex-direction: row-reverse; }
.sw-flag { display: block; }
@media (max-width: 767px) {
  .bar-in { flex-wrap: wrap; height: auto; padding: 8px 0 8px; row-gap: 8px; }
  .bar-in::after { content: ""; flex: 0 0 100%; height: 0; order: 3; }
  .bar-left { display: contents; }
  .logo { order: 1; }
  .bar-right { order: 2; }
  .side-switch { order: 4; margin: 0 auto; padding: 3px; gap: 2px; }
  .side-switch a { width: auto; height: 28px; padding: 0 12px; gap: 6px; font-size: 13px; }
  .sw-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .sw-flag { width: 18px; height: 13px; }
  [id] { scroll-margin-top: 120px; }
  .menu-btn { width: 40px; height: 40px; }
  .logo { font-size: 21px; }
  .cta-sm { font-size: 14px; padding: 0 12px; }
}
@media (max-width: 350px) { .side-switch { display: inline-flex; } .side-switch a { padding: 0 9px; font-size: 12px; } }
.bar-left { flex: none; }
@media (min-width: 768px) and (max-width: 1240px) {
  .bar-left { gap: 12px; }
  .logo { font-size: 23px; }
  .side-switch a { padding: 0 9px; gap: 5px; font-size: 12.5px; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .cta-sm { padding: 0 12px; font-size: 14px; }
  .bar-in { gap: 10px; }
}
