/* בלש חשבוניות — mobile-first RTL marketing */
:root {
  /* matched to flyer compose.py palette */
  --green-900: #121a14;
  --green-800: #1c4830;
  --green-700: #2e6e48;
  --green-600: #2e6e48;
  --green-100: #d6e6da;
  --green-50: #ecf5ee;
  --mint: #ecf5ee;
  --sage: #d6e6da;
  --soft: #f4f8f5;
  --ink: #203026;
  --ink-soft: #203026;
  --muted: #5f7064;
  --line: #bad0c0;
  --surface: #ffffff;
  --surface-muted: #f4f8f5;
  --danger-soft: #f4f8f5;
  --danger: #5f7064;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(28, 72, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 72, 48, 0.12);
  --font: "David Libre", "Times New Roman", "David", serif;
  --max: 1100px;
  --narrow: 720px;
  --desk: url("accountant-desk.png");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mint);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-900);
}

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  z-index: 1000;
  background: var(--green-700);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section:not(.section-muted):not(.cta-section) {
  background: #fff;
}

.container.narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mint);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  border-top: 6px solid var(--green-800);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.logo:hover {
  color: var(--green-800);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.logo-img {
  display: block;
  width: 4.5rem;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(28, 72, 48, 0.12);
}

.logo-text {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Origin story */
.story-card {
  background: var(--mint, #ecf5ee);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 24px rgba(28, 72, 48, 0.06);
}

.story-card p {
  margin: 0 0 0.85rem;
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.05rem;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-punch {
  font-weight: 700;
  color: var(--green-800);
  font-size: 1.12rem !important;
  margin-top: 0.35rem !important;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  border-radius: 10px;
}

.site-nav a:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.nav-cta {
  background: var(--green-700) !important;
  color: #fff !important;
  text-align: center;
}

.nav-cta:hover {
  background: var(--green-800) !important;
  color: #fff !important;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--soft);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.16);
  color: #e8f5ee;
}

.section-head h2,
.hero h1,
.contact-copy h2 {
  margin: 0 0 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 800;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--green-800);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--green-50);
  border-color: var(--green-600);
  color: var(--green-900);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background:
    linear-gradient(180deg, var(--mint) 0%, var(--soft) 55%, #fff 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 38rem;
}

.hero-bullets {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hero-bullets li {
  position: relative;
  padding-inline-start: 1.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0;
  background: url("logo.png") center / contain no-repeat;
  box-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-card-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--green-900);
}

.hero-card-price {
  margin: 1.25rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.03em;
}

.price-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cards / grids */
.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--green-900);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.check-list,
.x-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li,
.x-list li {
  position: relative;
  padding-inline-start: 1.95rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.05rem;
  width: 1.15rem;
  height: 1.15rem;
  background: url("logo.png") center / contain no-repeat;
}

.x-list li::before {
  content: "×";
  position: absolute;
  inset-inline-start: 0;
  top: -0.05rem;
  color: var(--danger);
  font-weight: 800;
  font-size: 1.15rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--green-900);
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Scope */
.scope-grid {
  display: grid;
  gap: 1.15rem;
}

.scope-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.scope-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.scope-yes {
  border-color: var(--line);
  background: var(--sage);
}

.scope-yes h3 {
  color: var(--green-800);
}

.scope-no {
  border-color: var(--line);
  background: var(--soft);
}

.scope-no h3 {
  color: var(--green-900);
}

/* Pricing */
.pricing-wrap {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}


.pricing-card .pricing-label,
.pricing-card .pricing-period,
.pricing-card .pricing-note-inline,
.pricing-card .check-list li {
  color: #d6e6da;
}
.pricing-card .pricing-amount .num {
  color: #fff;
}
.pricing-card .pricing-amount .vat {
  color: #d6e6da;
}
.pricing-card .btn-primary {
  background: #fff;
  color: var(--green-800);
}
.pricing-card .btn-primary:hover {
  background: var(--mint);
  color: var(--green-800);
}

.pricing-card {
  background: var(--green-800);
  border: 2px solid var(--green-800);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  color: #ecf5ee;
}

.pricing-label {
  margin: 0 0 0.5rem;
  color: var(--green-700);
  font-weight: 700;
}

.pricing-amount {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pricing-amount .num {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-amount .vat {
  color: var(--muted);
  font-weight: 600;
}

.pricing-period {
  margin: 0.4rem 0 1.25rem;
  color: var(--muted);
}

.pricing-card .btn {
  margin-top: 1.35rem;
}

.pricing-note {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.pricing-note h3 {
  margin: 0 0 0.75rem;
  color: var(--green-900);
  font-size: 1.1rem;
}

.pricing-note ul {
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.55rem;
}

/* Compare */
.compare-grid {
  display: grid;
  gap: 1.15rem;
}

.compare-card {
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.compare-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
}

.compare-card ul {
  margin: 0;
  padding-inline-start: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
}

.compare-before {
  background: #faf8f6;
}

.compare-before h3 {
  color: #6b5b4f;
}

.compare-after {
  border-color: #b7dbc8;
  background: linear-gradient(180deg, #f3faf6, #fff);
}

.compare-after h3 {
  color: var(--green-800);
}

/* Quotes */
.quote-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quote-label {
  margin: 0;
  display: inline-block;
  align-self: start;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.quote-card footer {
  margin-top: auto;
}

.quote-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--green-800);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  color: var(--green-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: left;
  color: var(--green-700);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Contact / CTA */
.cta-section {
  background: var(--green-800);
  color: #f4fbf7;
}

.cta-section h2 {
  color: #fff !important;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-details .label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.2rem;
}

.contact-details a {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-details a:hover {
  border-bottom-color: #fff;
}

.placeholder-tag {
  display: inline-block;
  margin-inline-start: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #dff5e8;
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.95rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27, 122, 74, 0.18);
}

.form-row input.is-invalid,
.form-row textarea.is-invalid {
  border-color: var(--danger);
}

.form-note {
  margin: 0.85rem 0 0;
  color: var(--muted) !important;
  font-size: 0.88rem;
  text-align: center;
}

/* Footer */
.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(28, 72, 48, 0.88), rgba(18, 26, 20, 0.94)),
    var(--desk) center / cover no-repeat;
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
}

.footer-inner {
  text-align: center;
  display: grid;
  gap: 0.45rem;
}

.footer-brand {
  margin: 0;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.footer-legal,
.footer-copy {
  margin: 0;
  font-size: 0.92rem;
}

.footer-legal {
  color: #c9e6d4;
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  z-index: 200;
  inset-inline: 1rem;
  bottom: 1.25rem;
  max-width: 28rem;
  margin-inline: auto;
  background: var(--green-900);
  color: #fff;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  text-align: center;
}

.toast[hidden] {
  display: none;
}

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-inline-start: 0.35rem;
    padding-inline: 1rem !important;
  }

  .hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    gap: 2.5rem;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-grid,
  .compare-grid,
  .pricing-wrap,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .pricing-wrap {
    grid-template-columns: 1fr 0.85fr;
    max-width: 900px;
    margin-inline: auto;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    grid-template-columns: 1fr;
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.scope-grid-single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-inline: auto;
}
