/* JoinSyncNow blog — premium dark editorial. Built for cautious, experienced agents:
   credible, readable, calm. Warm near-black, Sync green as a clean accent (no neon glow),
   Playfair Display serif headlines, generous reading measure. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --bg:        #0e0e0c;   /* warm near-black */
  --bg-soft:   #16160f;
  --card:      #15150f;
  --line:      rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --ink:       #f3f1ea;   /* warm off-white */
  --muted:     #a8a69c;   /* warm gray */
  --green:     #4CAF50;   /* Sync brand accent */
  --green-deep:#3c923f;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --measure: 44rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.16rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- top bar ---- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; max-width: 72rem; margin: 0 auto;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line-soft);
}
.bar .brand { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--ink); letter-spacing: .01em; }
.bar .brand span { color: var(--green); }
.bar nav { display: flex; align-items: center; gap: 1.4rem; font-size: .98rem; }
.bar nav a.muted { color: var(--muted); }
.btn {
  display: inline-block; background: var(--green); color: #0c0c08 !important;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .6rem 1.15rem; border-radius: 999px; text-decoration: none !important;
  border: 1px solid var(--green); transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green) !important; }

/* ---- article ---- */
.wrap { max-width: var(--measure); margin: 0 auto; padding: 3.5rem 1.5rem 1rem; }
.eyebrow {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .76rem; color: var(--green);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; display: inline-block;
}
h1.title {
  font-family: var(--serif); font-weight: 700; line-height: 1.08;
  font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -.01em;
  margin: 1.4rem 0 1rem;
}
.meta { color: var(--muted); font-size: .98rem; border-bottom: 1px solid var(--line-soft); padding-bottom: 1.6rem; }
.meta strong { color: var(--ink); font-weight: 600; }

article { font-size: 1.18rem; }
article h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.7rem;
  line-height: 1.2; margin: 2.6rem 0 .8rem; color: var(--ink);
}
article p { margin: 0 0 1.3rem; }
article strong { color: #fff; font-weight: 600; }
article ul, article ol { margin: 0 0 1.4rem 1.3rem; }
article li { margin-bottom: .55rem; }
article .lead { font-size: 1.32rem; line-height: 1.6; color: var(--ink); margin-bottom: 1.6rem; }
article blockquote {
  border-left: 3px solid var(--green); padding: .3rem 0 .3rem 1.3rem;
  margin: 1.8rem 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #efeadd;
}

/* ---- in-post booking CTA (on every post) ---- */
.cta {
  margin: 3rem auto 1rem; max-width: var(--measure);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 2rem 1.9rem; text-align: center;
}
.cta h3 { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; margin-bottom: .5rem; }
.cta p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.02rem; }
.cta .row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta .call { color: var(--muted); font-size: .98rem; }
.cta .call a { font-weight: 600; }

/* ---- blog index ---- */
.index-head { max-width: 72rem; margin: 0 auto; padding: 3.5rem 1.5rem 1rem; }
.index-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem,6vw,3.8rem); line-height: 1.05; }
.index-head p { color: var(--muted); font-size: 1.2rem; margin-top: .8rem; max-width: 40rem; }
.posts { max-width: 72rem; margin: 1.5rem auto 4rem; padding: 0 1.5rem; display: grid; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.post-row { background: var(--bg); padding: 1.7rem .3rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; }
.post-row a.h { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.post-row a.h:hover { color: var(--green); text-decoration: none; }
.post-row .dek { color: var(--muted); margin-top: .35rem; font-size: 1.02rem; }
.post-row .n { font-family: var(--serif); color: var(--muted); font-size: 1.1rem; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .9rem; line-height: 1.7; }
footer .inner { max-width: 72rem; margin: 0 auto; padding: 2.2rem 1.5rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--green); }

@media (max-width: 600px) {
  body { font-size: 1.1rem; }
  .bar nav a.muted { display: none; }
  .post-row { grid-template-columns: 1fr; }
  .post-row .n { display: none; }
}
