/* השיפוץ landing page. Look and feel matches the Renovation Co-Pilot app
   (apps/web): app blue, slate neutrals, white bordered cards, sage green for paid.
   Design source: design/Main.dc.html (Direction 1, Clear). */

@font-face { font-family: 'Rubik'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/rubik-hebrew-500-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: 'Rubik'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/rubik-latin-500-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: 'Rubik'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/rubik-hebrew-700-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: 'Rubik'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/rubik-latin-700-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: 'Rubik'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/rubik-hebrew-800-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: 'Rubik'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/rubik-latin-800-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-display: swap; font-weight: 400; src: url(/fonts/assistant-hebrew-400-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-display: swap; font-weight: 400; src: url(/fonts/assistant-latin-400-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-display: swap; font-weight: 600; src: url(/fonts/assistant-hebrew-600-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-display: swap; font-weight: 600; src: url(/fonts/assistant-latin-600-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-display: swap; font-weight: 700; src: url(/fonts/assistant-hebrew-700-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-display: swap; font-weight: 700; src: url(/fonts/assistant-latin-700-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 {
  color-scheme: light;
  --bg: #FFFFFF;
  --alt: #F8FAFC;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-soft: #EFF6FF;
  --green: #4F8A67;
  --green-soft: #F0FDF4;
  --green-border: #BBF7D0;
  --alert-bg: #EEF3FF;
  --alert-border: #C7D7FE;
  --danger: #DC2626;
  --radius: 12px;
  --radius-lg: 16px;
  --pad: 20px;
  --section: 56px;
  --font: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Rubik', 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
@media (min-width: 900px) {
  :root { --pad: 80px; --section: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
/* The logo mark is the whole drawn tile (blue square, roof, checklist page): symbol #i-logo in the sprite (D98). */
.logo-mark { display: block; width: 36px; height: 36px; flex-shrink: 0; }
.logo-svg { display: block; width: 100%; height: 100%; }
.logo-text { font-size: 24px; font-weight: 800; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-ghost:hover { background: var(--alt); color: var(--text); }

/* Hero */
.hero .container { display: flex; flex-direction: column; gap: 40px; padding-block: 40px var(--section); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.1; }
.hero h1 .line2 { display: block; margin-top: 12px; font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--primary); }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; }
@media (min-width: 900px) {
  .hero .container { flex-direction: row; align-items: center; gap: 64px; padding-top: 88px; }
  .hero-text { flex: 1 1 0; }
  .hero h1 { font-size: 64px; }
  .hero h1 .line2 { font-size: 30px; }
  .hero-sub { font-size: 21px; }
}

/* Sign-up form */
.signup { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; }
.signup label { font-size: 14px; font-weight: 600; }
.signup-row { display: flex; flex-direction: column; gap: 10px; }
.signup input[type=email] { flex-grow: 1; min-height: 52px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: #FFFFFF; color: var(--text); font-size: 17px; text-align: left; direction: ltr; }
.signup input[type=email]::placeholder { color: #94A3B8; }
.signup input[aria-invalid=true] { border-color: var(--danger); }
.btn-primary { min-height: 52px; padding: 0 24px; border: none; border-radius: 10px; background: var(--primary); color: #FFFFFF; font-size: 17px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.signup .note { font-size: 15px; color: var(--muted); }
.signup .consent { font-size: 13px; line-height: 1.5; color: var(--muted); }
.signup .consent a { color: inherit; }
.form-msg { font-size: 15px; font-weight: 600; }
.form-msg.error { color: var(--danger); }
.form-msg.info { color: var(--text); }
/* Honeypot field: invisible to people, still in the form for bots. Clipped in place
   (not moved off-screen, which would widen the page in RTL). */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
@media (min-width: 600px) { .signup-row { flex-direction: row; } }

.signup.on-dark label, .signup.on-dark .note, .signup.on-dark .consent { color: #CBD5E1; }
.signup.on-dark label { color: #FFFFFF; }
.signup.on-dark .btn-primary { background: #FFFFFF; color: var(--primary-dark); }
.signup.on-dark .btn-primary:hover { background: var(--primary-soft); }
.signup.on-dark .form-msg.info { color: #FFFFFF; }
.signup.on-dark .form-msg.error { color: #FCA5A5; }

/* Hero visual: real app elements with sample data */
.mock { display: flex; flex-direction: column; gap: 14px; width: 100%; }
@media (min-width: 900px) { .mock { width: 540px; flex-shrink: 0; } }
.card { border-radius: var(--radius); border: 1px solid var(--border); background: #FFFFFF; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07); }
.card-pad { padding: 16px; }
.card-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.card-title .icon { width: 17px; height: 17px; }
.clock-head { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 0; }
.clock-head strong { font-size: 20px; }
.clock-head span, .muted-s { font-size: 13px; color: var(--muted); }
.bar { position: relative; height: 8px; border-radius: 999px; background: #EEF1F5; overflow: hidden; }
.bar > span { position: absolute; inset-block: 0; right: 0; border-radius: 999px; background: #0F172A; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 600px) { .gauge { flex-direction: row; } }
.gauge svg { width: 150px; height: 150px; flex-shrink: 0; }
.money { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; width: 100%; }
.money-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.money-row span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.money-row strong { font-size: 18px; }
.dot { width: 8px; height: 8px; border-radius: 999px; }
.attention-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.attention-head .icon { width: 17px; height: 17px; }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.attention-list { list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.attention-list li { display: flex; gap: 10px; padding: 12px; border-radius: 10px; border: 1px solid var(--alert-border); background: var(--alert-bg); }
.attention-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--primary); }
.attention-list strong { display: block; font-size: 14px; }
.attention-list span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding-block: var(--section); }
.section.alt { background: var(--alt); }
.section.tight-top { padding-top: 0; }
.section h2 { font-size: 28px; font-weight: 800; margin-bottom: 32px; }
@media (min-width: 900px) { .section h2 { font-size: 40px; margin-bottom: 40px; } }

.steps { display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: #FFFFFF; }
.step-head { display: flex; align-items: center; gap: 12px; }
.icon-tile { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.icon-tile .icon { width: 22px; height: 22px; }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary); }
.step h3 { font-size: 20px; font-weight: 700; }
.step p, .pillar p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.lead-pillar { display: flex; flex-direction: column; gap: 20px; padding: 24px; margin-bottom: 20px; border-radius: var(--radius-lg); background: var(--primary); color: #FFFFFF; }
.lead-pillar .lead-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.14); }
.lead-pillar .lead-icon .icon { width: 32px; height: 32px; }
.lead-pillar h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.lead-pillar p { font-size: 17px; line-height: 1.6; color: #E0E7FF; max-width: 860px; }
@media (min-width: 900px) {
  .lead-pillar { flex-direction: row; align-items: center; padding: 40px; }
  .lead-pillar h3 { font-size: 30px; }
  .lead-pillar p { font-size: 19px; }
}
.pillars { display: grid; gap: 20px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: #FFFFFF; }
.pillar > .icon { width: 26px; height: 26px; color: var(--primary); }
.pillar h3 { font-size: 19px; font-weight: 700; }

.cta { display: flex; flex-direction: column; gap: 32px; padding: 32px 24px; border-radius: var(--radius-lg); background: #0F172A; color: #FFFFFF; }
.cta-text { display: flex; flex-direction: column; gap: 18px; }
.cta h2 { margin: 0; color: #FFFFFF; }
.cta p { font-size: 18px; line-height: 1.6; color: #CBD5E1; }
.cta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cta li { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.cta li .icon { width: 20px; height: 20px; color: #CBD5E1; stroke-width: 2.5; }
.cta .small { font-size: 16px; }
@media (min-width: 900px) {
  .cta { flex-direction: row; align-items: center; gap: 64px; padding: 56px; }
  .cta > * { flex: 1 1 0; }
}

.faq { max-width: 880px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform 0.15s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 28px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Questionnaire and thank-you views */
.view-alt { background: var(--alt); min-height: 100vh; }
.q-main { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; padding: 28px var(--pad) 64px; }
@media (min-width: 900px) { .q-main { padding-top: 56px; } }
.q-intro { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius-lg); background: var(--green-soft); border: 1px solid var(--green-border); }
.q-intro-head { display: flex; align-items: center; gap: 12px; }
.check-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--green); color: #FFFFFF; }
.check-badge .icon { stroke-width: 3; }
.q-intro h1, .q-intro h2 { font-size: 26px; font-weight: 800; }
.q-intro p { font-size: 18px; line-height: 1.6; }
.q-intro .skip { align-self: flex-start; font-size: 15px; color: var(--muted); background: none; border: none; padding: 0; text-decoration: underline; cursor: pointer; }
@media (min-width: 900px) { .q-intro { padding: 32px; } .q-intro h1, .q-intro h2 { font-size: 32px; } }
.q-card { margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #FFFFFF; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 900px) { .q-card { padding: 28px; } }
.q-card legend { float: right; width: 100%; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.q-num { font-size: 14px; font-weight: 700; color: var(--primary); }
.q-title { font-size: 20px; font-weight: 700; }
.q-help { font-size: 14px; color: var(--muted); }
.q-opt-tag { font-size: 13px; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--alt); }
.q-options { display: flex; flex-wrap: wrap; gap: 10px; }
.q-options.stack { flex-direction: column; flex-wrap: nowrap; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #FFFFFF; font-size: 16px; font-weight: 500; cursor: pointer; }
.q-options.stack .opt { display: flex; width: 100%; }
@media (max-width: 599px) { .opt { width: 100%; } }
.opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.opt:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.opt input[type=radio], .opt input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex-shrink: 0; }
.opt .other-input { flex-grow: 1; min-width: 0; width: 120px; min-height: 34px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; }
.q-card textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 16px; resize: vertical; }
.q-submit { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .q-submit { flex-direction: row; align-items: center; } .q-submit .btn-primary { padding: 0 40px; } }

.thanks { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 640px; margin: 0 auto; padding: 56px var(--pad); }
@media (min-width: 900px) { .thanks { padding-top: 120px; } }
.thanks .check-badge { width: 64px; height: 64px; }
.thanks .check-badge .icon { width: 34px; height: 34px; }
.thanks h1, .thanks h2 { font-size: 30px; font-weight: 800; }
@media (min-width: 900px) { .thanks h1, .thanks h2 { font-size: 40px; } }
.thanks .lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.thanks hr { width: 100%; border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.thanks .share-q { font-size: 18px; font-weight: 600; }
.thanks-join { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.thanks-join[hidden] { display: none; }
a.btn-primary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #FFFFFF; }
/* The global a:hover turns link text blue, which vanishes on the blue button: invert it on hover instead. */
a.btn-primary:hover, a.btn-primary:focus-visible { background: #FFFFFF; color: var(--primary-dark); box-shadow: inset 0 0 0 2px var(--primary); }

/* /survey: optional contact email at the end of the questionnaire */
.q-card[hidden] { display: none; }
.q-card input[type=email] { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: #FFFFFF; color: var(--text); font-size: 17px; text-align: left; direction: ltr; }
.q-card input[type=email]::placeholder { color: #94A3B8; }
.q-card input[aria-invalid=true] { border-color: var(--danger); }
.share-row { display: flex; flex-direction: column; gap: 12px; width: 100%; }
@media (min-width: 600px) { .share-row { flex-direction: row; width: auto; } }
.btn-share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--border); background: #FFFFFF; color: var(--text); font-size: 16px; font-weight: 600; text-decoration: none; }
.btn-share:hover { background: var(--primary-soft); color: var(--text); }
.btn-share .icon { width: 18px; height: 18px; }

/* Plain text pages: privacy, unsubscribe */
.plain-page { background: var(--alt); }
.plain-main { max-width: 760px; margin: 0 auto; padding: 48px var(--pad) 80px; }
.plain-main h1 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.plain-main h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.plain-main p, .plain-main li { font-size: 17px; line-height: 1.7; }
.plain-main p + p { margin-top: 12px; }
.plain-main ul { padding-right: 20px; }
.placeholder { background: #FEF3C7; border-radius: 4px; padding: 0 4px; }

/* Typography: Rubik for headings and numbers, Assistant for body text */
h1, h2, h3, .logo-text, .btn-primary, .clock-head strong, .money-row strong, .card-title, .attention-head { font-family: var(--font-head); }
.cap-line { margin: 0 0 8px; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--text); }
.mock { gap: 6px; }
.mock .card { margin-bottom: 12px; }
@media (min-width: 900px) { .hero .container { align-items: flex-start; } .hero-text { padding-top: 56px; } }

/* ===== v2 site shell (was v2.css): header, footer, section spacing, sticky sign-up bar. Keep AFTER the rules above: it overrides :root, .section.tight-top and .q-submit. ===== */
/* v2 site shell: header, footer, section spacing, sticky sign-up bar. Loaded after site.css by the v2 layout.
   Ported from the approved mockups (docs/mockups/phase-1/mock.css); rules in docs/DESIGN-GUIDE.md. */

/* ---- site header (proposed) ---- */
.mh{border-bottom:1px solid var(--border);background:#fff;position:relative;z-index:40}
.mh-row{display:flex;align-items:center;gap:20px;min-height:76px;position:relative}
.mh-nav{display:none;align-items:center;gap:28px;margin-inline-start:20px}
.mh-nav a,.mh-nav summary{color:var(--text);text-decoration:none;font-weight:600;font-size:16px;cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px}
.mh-nav>a,.mh-nav>.dd>summary{white-space:nowrap}
.mh-nav a:hover,.mh-nav summary:hover{color:var(--primary)}
.mh-nav summary::-webkit-details-marker{display:none}
.mh-nav .icon{width:16px;height:16px}
.mh-nav a.cur{color:var(--primary)}
.dd{position:relative}
.dd-panel{position:absolute;top:calc(100% + 14px);inset-inline-start:-16px;width:360px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.12);padding:8px}
.dd-panel a{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:10px;font-weight:400}
.dd-panel a:hover{background:var(--alt)}
.dd-panel strong{display:block;font-size:15px}
.dd-panel span.d{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.dd-panel .icon-tile{width:36px;height:36px;border-radius:10px}
.dd-panel .icon-tile .icon{width:18px;height:18px}
.mh-actions{margin-inline-start:auto;display:flex;align-items:center;gap:10px}
.mh-actions .btn-ghost{display:none}
.mnav-panel .m-login{display:block}
@media(min-width:360px){.mh-actions .btn-ghost{display:inline-flex;border:0;background:transparent;padding:0 4px;min-height:44px}.mnav-panel .m-login{display:none}}
.mh-actions .bs{display:none}
@media(max-width:1099px){.mh-actions .bl{display:none}.mh-actions .bs{display:inline}}
.btn-primary.sm{min-height:44px;padding:0 18px;font-size:15px;display:inline-flex;align-items:center;text-decoration:none;color:#fff}
.mnav summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--border);border-radius:10px}
.mnav summary::-webkit-details-marker{display:none}
.mnav-panel{position:absolute;top:100%;inset-inline:0;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 16px 30px rgba(15,23,42,.1);padding:8px var(--pad) 18px;display:flex;flex-direction:column}
.mnav-panel a{padding:14px 4px;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none;font-weight:600}
.mnav-panel a.sub{font-weight:400;padding-inline-start:16px;color:var(--muted)}
.mnav-panel a.btn-primary{margin-top:14px;justify-content:center;color:#fff;border-bottom:0;font-weight:700}
.mnav{position:static}
@media(max-width:899px){.mnav{order:-1}}
@media(min-width:900px){.mh-nav{display:flex;flex:1}.mnav{display:none}.mh-actions .btn-ghost{display:inline-flex;border:1px solid var(--border);background:var(--bg);padding:0 18px}}

/* ---- footer (proposed) ---- */

.mf{border-top:1px solid var(--border);background:var(--alt);color:var(--muted);font-size:15px}
.mf-grid{display:grid;gap:28px;padding-block:44px 24px}
@media(min-width:900px){.mf-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.mf h3{margin:0 0 12px;font:700 15px var(--font-head);color:var(--text)}
.mf a{display:block;color:var(--muted);text-decoration:none;padding:4px 0}
.mf a:hover{color:var(--primary)}
.mf .brand p{margin:12px 0 0;max-width:300px;line-height:1.55}
.mf-bottom{border-top:1px solid var(--border);padding-block:18px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:14px}


/* site-wide section spacing (ux-designer, operator 2026-11-16): about half of the old gap between sections */
:root{--section:clamp(36px,9vw,44px)}
@media(min-width:900px){:root{--section:56px}}
.section.tight-top{padding-bottom:48px}
@media(min-width:900px){.section.tight-top{padding-bottom:72px}}
.section.first{padding-block:40px}
@media(min-width:900px){.section.first{padding-block:48px}}

/* compact header on phones */
@media(max-width:380px){.mh-row.container{padding-inline:16px;gap:6px}}
@media(max-width:430px){.mh-row{gap:8px}.logo-text{font-size:20px}.btn-primary.sm{padding:0 12px}}
@media(max-width:340px){.mh-actions .btn-primary{display:none}}

/* mobile sticky sign-up bar (D43): phones and narrow windows only, shown by js/site.js */
.sticky-bar{display:none;position:fixed;inset-inline:0;bottom:0;z-index:30;gap:10px;align-items:center;padding:10px 12px;background:#fff;border-top:1px solid var(--border);box-shadow:0 -6px 18px rgba(15,23,42,.08)}
.sticky-bar span{flex:1;font-size:14px;font-weight:600}
.sticky-bar .btn-primary{min-height:42px;font-size:15px;padding:0 16px;display:inline-flex;align-items:center;text-decoration:none}
@media(max-width:899px){.sticky-bar.show{display:flex}}
.skip-link{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:#fff;color:var(--text);padding:10px 16px;border-radius:10px;border:1px solid var(--border);font-weight:600}
.skip-link:focus{top:12px}
/* keep the footer's last line clear of the sticky bar on phones */
@media(max-width:899px){.mf{padding-bottom:64px}}

/* page parts (ported from the approved mockups) */
.page-hero .container{padding-block:40px 40px;display:flex;flex-direction:column;gap:16px;max-width:1160px}
.page-hero h1{font-size:34px;font-weight:800;line-height:1.15}
.page-hero .lead{font-size:19px;line-height:1.6;color:var(--muted);max-width:1000px}
@media(min-width:900px){.page-hero h1{font-size:52px}.page-hero .container{padding-block:72px 56px}}
/* text-only pages (no visual under the header): the text starts at the same edge as the header and the sections */
.page-hero.full .container{max-width:1440px}
.stack{display:flex;flex-direction:column;gap:14px}
.value{display:flex;gap:14px}
.value .icon-tile{flex-shrink:0}
.value h3,.value h2{font:700 18px var(--font-head);margin:0 0 4px}
.value p{margin:0;color:var(--muted);line-height:1.6}
.pains{display:grid;gap:16px}.pains h3{font:700 20px var(--font-head);margin:0 0 8px}.pains p{margin:0 0 10px;line-height:1.6;color:var(--muted)}.pains .help{color:var(--text);padding-top:10px;border-top:1px solid var(--border);margin:0}
@media(min-width:760px){.pains{grid-template-columns:repeat(2,minmax(0,1fr))}}
.contact-card{padding:24px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}
.contact-card a{font-weight:700}
.section-title{font-size:28px;margin:0}
.page-intro{max-width:1000px;display:flex;flex-direction:column;gap:16px}
.page-intro .lead{margin:0}
.contact-card{max-width:640px;gap:12px}
.contact-lead{color:var(--muted);font-size:18px;line-height:1.6;margin:0}
.contact-mail{font-size:18px;display:flex;align-items:center;gap:8px}
.contact-mail .icon{width:20px;height:20px}
.gap-lg{gap:24px}

/* FAQ and the closing sign-up band */
.band{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:var(--radius-lg);background:var(--primary-soft);border:1px solid var(--alert-border)}
.band h3{font:800 20px var(--font-head);margin:0}
.band p{margin:0;color:var(--muted)}
.band .signup{max-width:none}
@media(min-width:900px){.band{flex-direction:row;align-items:center;gap:32px;padding:28px 32px}.band>div:first-child{flex:1}.band .signup{flex:1.2}}
.pill-row{display:flex;flex-wrap:wrap;gap:10px}
.pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:#fff;font-size:15px;font-weight:600;color:var(--text);text-decoration:none}
.pill.later{border-style:dashed;color:var(--muted);font-weight:400}
.faq-more{margin:24px 0 0;font-size:17px;line-height:1.6;color:var(--muted)}
.faq-wide + .band{margin-top:48px}
.faq-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.faq-group{margin-bottom:40px}
.faq-group h2{font:800 26px var(--font-head);margin:0 0 6px}
.faq-wide{max-width:900px}
.faq-wide details{padding:18px 0;border-bottom:1px solid var(--border)}
.faq-wide summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font:700 19px var(--font-head)}
.faq-wide summary::-webkit-details-marker{display:none}
.faq-wide summary .icon{width:20px;height:20px;color:var(--muted);transition:transform .15s}
.faq-wide details[open] summary .icon{transform:rotate(180deg)}
.faq-wide details p{margin:12px 0 0;font-size:17px;line-height:1.65;color:var(--muted)}

/* /join page (M4) */
.join-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding-block:32px 40px}
@media(min-width:900px){.join-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;padding-top:64px;padding-bottom:48px}}
.join-card{padding:28px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.join-title{font-size:34px;font-weight:800;margin:14px 0 20px}
.card-title-lg{font:800 24px var(--font-head);margin:0 0 16px}
.card.soft{background:var(--alt)}
.card.soft p{margin:0;color:var(--muted);line-height:1.6}
.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.timeline li{display:flex;gap:16px;padding-bottom:22px;position:relative}
.timeline li:not(:last-child)::before{content:"";position:absolute;inset-inline-start:17px;top:36px;bottom:0;width:2px;background:var(--border)}
.timeline .n{width:36px;height:36px;flex-shrink:0;border-radius:999px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font:700 16px var(--font-head)}
.timeline strong{display:block;font:700 18px var(--font-head)}
.timeline span{color:var(--muted)}
/* the follow-up and thank-you views sit between the v2 header and footer, so they do not need the full-screen height */
.join-view.view-alt{min-height:0}
.join-view [hidden]{display:none}
.q-fields{display:flex;flex-direction:column;gap:20px}
.q-submit{margin-top:20px}

/* The header holds five links plus the buttons: tighten the gaps between 900 and 1099 px so nothing overflows. */
@media(min-width:900px) and (max-width:1099px){.mh-nav{gap:12px;margin-inline-start:4px}.mh-nav a,.mh-nav summary{font-size:15px}.mh-actions .btn-ghost{padding:0 12px}}

/* ONE content column for every page except the home page: each block under a section heading is at most 1000 px and starts at the page's
   start edge, like the screenshots. The home page opts out in home.css (it is a full-width marketing grid). */
.section>.container>*{max-width:1000px;margin-inline:0 auto}
.faq-wide{max-width:1000px}

/* The sign-up button says "הצטרפו" where the form column is narrow (900 to 1119 px), so it does not overlap the field or run past the form. */
.signup .bs{display:none}
@media(min-width:900px) and (max-width:1119px){.signup .bl{display:none}.signup .bs{display:inline}}
