/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }

/* ── TOKENS ─────────────────────────────────── */
:root {
  --black:  #111111;
  --text:   #1c1c1c;
  --sub:    #6b7280;
  --bg:     #FAFAF8;
  --bg-alt: #F2F1EF;
  --line:   rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --font:   'Heebo', 'Arial Hebrew', Arial, sans-serif;
}

/* ── BASE ───────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── WRAP ───────────────────────────────────── */
.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
}
.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-inline-end: auto;
}
.nav-phone {
  display: none;
  font-size: 0.85rem;
  color: var(--sub);
  direction: ltr;
  margin-inline-start: 20px;
}
.nav-cta {
  display: inline-block;
  margin-inline-start: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--black);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: opacity 0.14s;
}
.nav-cta:hover { opacity: 0.75; }

@media (min-width: 560px) {
  .nav-phone { display: block; }
}

/* ── HERO ───────────────────────────────────── */
.s-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #07111F;
  padding: clamp(80px, 10vw, 120px) 0;
}
.s-hero .wrap {
  max-width: 860px;
  text-align: center;
}
.s-hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #F0EFEA;
  margin-bottom: 28px;
}
.lead {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--sub);
  line-height: 1.9;
  margin-bottom: 40px;
}
.s-hero .lead {
  color: #7A9BB8;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 44px;
}
.s-hero .cta {
  background: #ffffff;
  color: #07111F;
}

/* ── BLOCKS ─────────────────────────────────── */
.s-block {
  padding: clamp(80px, 12vw, 140px) 0;
}
.s-block .wrap {
  max-width: 1100px;
}
.s-block h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 28px;
}

/* scroll-offset so sticky nav doesn't overlap anchors */
section[id] { scroll-margin-top: 56px; }

/* ── SECTION BACKGROUNDS ─────────────────────── */
#problem      { background: #FAFAF8; }
#solution     { background: #FFFFFF; }
#outcome      { background: #FAFAF8; }
#maintenance  { background: #FFFFFF; }
#how-it-works { background: #FAFAF8; }
#why-backline { background: #FFFFFF; }
#audience     { background: #FAFAF8; }
#dont-do      { background: #FFFFFF; }
#faq          { background: #FAFAF8; }

/* narrow wraps for prose-only sections */
#maintenance .wrap  { max-width: 760px; }
#how-it-works .wrap { max-width: 760px; }
#why-backline .wrap { max-width: 760px; }
#faq .wrap          { max-width: 880px; }

/* ── TEXT ELEMENTS ──────────────────────────── */
.sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--sub);
  line-height: 1.8;
  margin-bottom: 20px;
}
.note {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--sub);
  line-height: 1.75;
  margin-top: 20px;
}
.para {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--sub);
  line-height: 1.8;
  margin-top: 12px;
}
.bridge {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--black);
  margin-top: 28px;
  margin-bottom: 16px;
}
.s-block h2 + .bridge { margin-top: 0; }

/* ── SPLIT LAYOUT ───────────────────────────── */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.split-detail .qa-list    { margin-top: 0; }
.split-detail .checks     { margin-top: 0; }
.split-detail .dontdo-list { margin-bottom: 0; }

@media (max-width: 768px) {
  .layout-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Q&A DIALOGUE ───────────────────────────── */
.qa-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
.qa-cond {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--sub);
  line-height: 1.55;
  margin-top: 24px;
}
.qa-cond:first-child { margin-top: 0; }
.qa-ans {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  color: var(--black);
  margin-top: 3px;
  line-height: 1.5;
}

/* ── LINES LIST ─────────────────────────────── */
.lines { margin-top: 20px; }
.s-block h2 + .lines { margin-top: 0; }
.lines li {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.lines li:first-child { border-top: 1px solid var(--line); }
.lines--muted li {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 400;
  color: var(--sub);
  padding: 12px 0;
}

/* ── CHECKS LIST ────────────────────────────── */
.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.s-block h2 + .checks { margin-top: 0; }
.checks li {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.checks li::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  flex-shrink: 0;
}

/* 2-column variant */
.checks--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
  margin-top: 28px;
}

@media (max-width: 560px) {
  .checks--cols { grid-template-columns: 1fr; }
}

/* ── BULLETS LIST ───────────────────────────── */
.bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding-inline-end: 18px;
  position: relative;
}
.bullets li {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--sub);
  position: relative;
  padding-inline-end: 14px;
}
.bullets li::before {
  content: '—';
  position: absolute;
  inset-inline-end: 0;
  color: var(--sub);
  font-weight: 300;
}

/* ── DON'T DO LIST ──────────────────────────── */
.dontdo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.dontdo-list li {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--sub);
  position: relative;
  padding-inline-end: 24px;
}
.dontdo-list li::before {
  content: '✕';
  position: absolute;
  inset-inline-end: 0;
  color: var(--sub);
  font-size: 0.8rem;
  line-height: 1.8;
}

/* ── FUTURE NOTE ────────────────────────────── */
.future-note {
  margin-top: 36px;
  border-inline-start: 2px solid var(--line);
  padding-inline-start: 16px;
  font-size: 0.875rem;
  color: var(--sub);
  line-height: 1.75;
}

/* ── FAQ ────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: right;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sub);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
}
.faq-a p {
  padding-bottom: 20px;
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  color: var(--sub);
  line-height: 1.75;
}

/* ── CTA BUTTON ─────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: none;
  transition: opacity 0.14s;
}
.cta:hover, .cta:focus-visible { opacity: 0.75; }
.cta--full { width: 100%; padding: 15px 30px; }

/* ── CONTACT ────────────────────────────────── */
.s-contact {
  padding: clamp(80px, 12vw, 140px) 0;
  background: #07111F;
}
.s-contact h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.025em;
  color: #F0EFEA;
  margin-bottom: 12px;
}
.s-contact .sub {
  color: #7A9BB8;
}
.c-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
  margin-bottom: 24px;
}
.c-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.c-form input {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #F0EFEA;
  -webkit-appearance: none;
  appearance: none;
  direction: rtl;
  text-align: right;
}
.c-form input::placeholder { color: rgba(255, 255, 255, 0.3); }
.c-form input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: -1px;
  border-color: transparent;
}
.s-contact .cta {
  background: #F0EFEA;
  color: #07111F;
}
.c-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
}
.c-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.c-links a:hover { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #07111F;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}
.site-footer strong {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* ── FORM STATUS ────────────────────────────── */
.form-status {
  display: none;
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status--ok    { display: block; color: #8EC89A; background: rgba(142, 200, 154, 0.1); }
.form-status--error { display: block; color: #E09090; background: rgba(224, 144, 144, 0.1); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 480px) {
  .c-row { grid-template-columns: 1fr; }
}
