/* השיפוץ 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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/heebo-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: 'Heebo'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/heebo-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; }

: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: 'Heebo', 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); }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #FFFFFF; }
.logo-mark .icon { width: 20px; height: 20px; }
.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 { 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 { 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 { font-size: 30px; font-weight: 800; }
@media (min-width: 900px) { .thanks h1 { 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; }
.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; }
