/* site.css - the landing page and the legal pages. The app has its own
   styles under /app/; this only borrows its colours. */

:root {
  --ink: #10264a; --grey: #54728f; --line: #2f6fd0; --green: #1a9b4e; --green-ink: #136b38;
  --sun: #f2c14e; --bg: #f3f8ff; --paper: #fff; --mark: #d5e6fa;
  --radius: 22px; --shadow: 0 8px 0 rgba(16, 38, 74, .14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", "Arial Hebrew", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--line); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* one page, two languages: only the current one shows */
html[lang="he"] [lang="en"]:not(html), html[lang="en"] [lang="he"]:not(html) { display: none !important; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch button {
  font: inherit; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 99px; cursor: pointer;
  border: 2px solid var(--mark); background: var(--paper); color: var(--ink);
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- buttons ---------- */
.cta {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 800;
  font-size: 20px; padding: 14px 30px; border-radius: 99px; box-shadow: 0 6px 0 var(--green-ink);
  transition: transform .1s, box-shadow .1s;
}
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--green-ink); }
.cta-note { color: var(--grey); font-size: 15px; margin-top: 12px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 28px 0 64px; }
.split .shot.square { max-width: 420px; justify-self: center; border-color: #f2c14e; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 0 0 14px; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--grey); margin: 0 0 26px; }
.shot {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow); border: 3px solid var(--ink);
}
.hero-art { position: relative; }
.hero-art .phone {
  position: absolute; width: 22%; bottom: -30px; inset-inline-start: -14px;
  border-radius: 20px; border: 4px solid var(--ink); box-shadow: var(--shadow); background: var(--paper);
}

/* ---------- sections ---------- */
section.band { padding: 54px 0; }
section.band.white { background: var(--paper); }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 10px; text-align: center; }
.sub { text-align: center; color: var(--grey); max-width: 640px; margin: 0 auto 34px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--paper); border: 2px solid var(--mark); border-radius: var(--radius); padding: 22px; }
section.band.white .feature { background: var(--bg); }
.feature .ic { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; }
.feature p { margin: 0; color: var(--grey); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split h2 { text-align: start; }
.split ul { padding-inline-start: 22px; margin: 14px 0 0; }
.split li { margin: 8px 0; }

.price {
  max-width: 520px; margin: 0 auto; text-align: center; background: var(--paper);
  border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px;
}
.price .big { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.price li { margin: 6px 0; }
.price li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--paper); border: 2px solid var(--mark); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 2px; color: var(--grey); }

footer { padding: 30px 0 46px; color: var(--grey); font-size: 15px; text-align: center; }
footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 10px 0 50px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 4px; }
.legal h2 { text-align: start; font-size: 22px; margin: 30px 0 6px; }
.legal .updated { color: var(--grey); margin: 0 0 24px; }
.legal p, .legal li { color: #2a3f5f; }

@media (max-width: 820px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 10px; }
  .hero-art { margin-bottom: 24px; }
  .features { grid-template-columns: 1fr; }
  .split .shot { order: -1; }
}
