/* ============================================
   Neta Financial — design tokens
   Palette: deep ink-green + warm paper + gold,
   built around the Hebrew root "neta" (נטע) —
   seedling / that which is planted.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,400..500&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --green-deep: #16241C;   /* near-black green, primary dark bg */
  --green-ink: #1F3D2B;    /* secondary dark, panels */
  --paper: #F6F3EC;        /* warm off-white, primary light bg */
  --paper-dim: #ECE6D8;    /* light bg alt / cards */
  --sprout: #7E9470;       /* muted sage, quiet accent */
  --gold: #AD7B34;         /* warm ochre, the one bold accent */
  --line: #D8D0BC;         /* hairline rule on paper */
  --line-dark: #33493B;    /* hairline rule on dark */
  --ink: #16241C;          /* body text on paper */
  --ink-soft: #4B5B4E;     /* secondary text on paper */
  --cream-text: #F1EDE1;   /* body text on dark */
  --cream-soft: #C7CFC1;   /* secondary text on dark */

  --serif: 'Fraunces', serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --measure: 62ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; }

p { max-width: var(--measure); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand small {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 3px;
  color: var(--ink) !important;
  font-weight: 500;
}

.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green-deep);
  color: var(--cream-text);
  padding: 108px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--paper);
}

.hero .lede {
  margin-top: 22px;
  font-size: 1.18rem;
  color: var(--cream-soft);
  max-width: 46ch;
}

.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  color: var(--cream-text);
  text-decoration: none;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
}
.btn-ghost:hover { border-color: var(--sprout); }

.hero-mark {
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.hero-scope {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--cream-soft);
  font-size: 0.95rem;
  max-width: 46ch;
}

/* ---------- Sections generic ---------- */
section { padding: 88px 0; }

.eyebrow-free-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- About ---------- */
.about { background: var(--paper); }

.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-figure {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}

.about-figure .root-word {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--green-ink);
}

.about-figure .translit {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 6px;
}

.about-figure p {
  margin-top: 20px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.about-body p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.06rem;
  color: var(--ink);
}

.credentials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.credentials div { font-size: 0.92rem; color: var(--ink-soft); }
.credentials strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Services ---------- */
.services { background: var(--paper-dim); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--paper-dim);
  padding: 36px;
  border-left: 3px solid transparent;
  transition: border-color 0.15s ease;
}

.service-card:hover { border-left-color: var(--gold); }

.service-card h3 {
  font-size: 1.28rem;
  color: var(--green-ink);
}

.service-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Process ---------- */
.process { background: var(--paper); }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  border-top: 2px solid var(--green-ink);
  padding-top: 18px;
}

.process-step .num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.process-step h3 {
  font-size: 1.08rem;
  margin-top: 10px;
}

.process-step p {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--green-deep); color: var(--cream-text); }

.testimonials .section-head p { color: var(--cream-soft); }
.testimonials .section-head h2 { color: var(--paper); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.quote-card {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--sprout);
  line-height: 1;
  display: block;
}

.quote-card p.qtext {
  margin-top: 6px;
  font-size: 1.02rem;
  color: var(--cream-text);
}

.quote-card .attrib {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--cream-soft);
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }

.faq-list { max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--green-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary .plus {
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.faq-item[open] summary .plus { transform: rotate(45deg); }

.faq-item .a {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ---------- Contact ---------- */
.contact { background: var(--paper-dim); }

.contact .wrap {
  max-width: 640px;
}

.contact-info h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }

.contact-info p { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }

.contact-detail {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-detail div { margin-bottom: 14px; font-size: 0.98rem; }
.contact-detail strong { display: inline-block; min-width: 92px; color: var(--ink-soft); font-weight: 500; }

.confidentiality-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}


/* ---------- Footer ---------- */
footer {
  background: var(--green-deep);
  color: var(--cream-soft);
  padding: 44px 0;
  font-size: 0.88rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a { text-decoration: none; color: var(--cream-soft); }
footer a:hover { color: var(--paper); }

.footer-links { display: flex; gap: 24px; }

/* ---------- Blog listing (blog.html) ---------- */
.blog-hero {
  background: var(--green-deep);
  color: var(--cream-text);
  padding: 80px 0 64px;
}
.blog-hero h1 { color: var(--paper); font-size: clamp(2rem, 4vw, 2.8rem); }
.blog-hero p { color: var(--cream-soft); margin-top: 16px; max-width: 50ch; }

.post-list { padding: 72px 0; }

.post-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.post-card .date {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.post-card h3 { font-size: 1.3rem; color: var(--green-ink); }
.post-card p { margin-top: 10px; color: var(--ink-soft); font-size: 0.98rem; }

.post-placeholder {
  text-align: center;
  padding: 40px 0;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 28px;
    gap: 18px;
  }
  .nav-links.nav-links-open { display: flex; }
  .nav-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; max-width: 200px; margin-top: 20px; }
  .about .wrap { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
