/* Green Dotter — shared styles for Blog & FAQ pages.
   Tokens mirror the homepage (Green Dotter Website.html). */
:root {
  --green: #23A55A;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-alt: #f5f3ee;
  --border: #e8e4dc;
  --border-strong: #d6d1c6;
  --text: #1c1917;
  --text-mute: #78716c;
  --text-subtle: #a8a29e;
  --near-black: #14120f;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --sans: Geist, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }

.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 40% at 20% 0%, rgba(35,165,90,0.07), transparent 60%),
    radial-gradient(50% 40% at 85% 15%, rgba(35,165,90,0.05), transparent 60%);
}

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(251, 250, 247, 0.72);
  border-bottom: 1px solid rgba(232, 228, 220, 0.6);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 16px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--text-mute);
  text-decoration: none; padding: 6px 10px; border-radius: 7px;
  transition: color .12s, background .12s;
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,0.035); }
.nav-link.active { color: var(--text); background: rgba(0,0,0,0.05); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 9px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .08s ease, filter .12s ease, background .12s;
}
.btn:active { transform: translateY(0.5px); }
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { filter: brightness(0.93); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-alt); }
.btn-coffee {
  background: var(--surface-alt); color: var(--text-mute);
  border: 1px solid var(--border-strong); box-shadow: none;
}
.btn-coffee:hover { background: var(--surface); color: var(--text); filter: none; }
.btn-sm { padding: 7px 11px; font-size: 13px; border-radius: 7px; }
@media (max-width: 600px) {
  .nav-coffee-label { display: none; }
}

section { position: relative; z-index: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Page header band */
.page-head { padding: 64px 0 28px; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--green);
  background: rgba(35,165,90,0.08);
  border: 1px solid rgba(35,165,90,0.22);
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.3px; white-space: nowrap;
}
.page-head h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700; letter-spacing: -1.4px; line-height: 1.05;
  margin: 20px 0 14px; text-wrap: balance;
}
.page-head p.lede {
  font-size: 17px; color: var(--text-mute); line-height: 1.55;
  max-width: 560px; margin: 0; text-wrap: pretty;
}

/* Footer */
footer {
  margin-top: 24px;
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
}
.foot-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-mute); font-size: 13px;
}
.foot-inner .spacer { flex: 1; }
.foot-inner a { color: var(--text-mute); text-decoration: none; }
.foot-inner a:hover { color: var(--text); }
.foot-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Brand lockup (inline, no JS) */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand svg { display: block; }
.brand-text {
  font-family: var(--sans); font-size: 15px; font-weight: 650;
  letter-spacing: -0.4px; color: var(--text); line-height: 1; white-space: nowrap;
}

/* ---------- Blog index ---------- */
.post-list { padding: 8px 0 56px; display: grid; gap: 0; max-width: 760px; }
.post-card {
  display: block; text-decoration: none;
  padding: 26px 0; border-top: 1px solid var(--border);
  transition: padding-left .15s ease;
}
.post-card:last-child { border-bottom: 1px solid var(--border); }
.post-card:hover { padding-left: 6px; }
.post-card-kicker {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  color: var(--text-subtle); letter-spacing: 0.3px; margin-bottom: 8px;
}
.post-card h2 {
  font-size: 23px; font-weight: 650; letter-spacing: -0.5px; line-height: 1.2;
  margin: 0 0 8px; color: var(--text); text-wrap: balance;
}
.post-card:hover h2 { color: var(--green); }
.post-card p {
  font-size: 15px; color: var(--text-mute); line-height: 1.55; margin: 0 0 12px;
  max-width: 620px; text-wrap: pretty;
}
.read-more {
  font-size: 13.5px; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.read-more svg { transition: transform .15s ease; }
.post-card:hover .read-more svg { transform: translateX(3px); }

/* ---------- Article ---------- */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }
.backlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--text-mute);
  text-decoration: none; margin: 40px 0 0;
  transition: color .12s;
}
.backlink:hover { color: var(--green); }
.article-head { padding: 26px 0 0; }
.article-head h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700; letter-spacing: -1.2px; line-height: 1.08;
  margin: 14px 0 18px; text-wrap: balance;
}
.standfirst {
  font-size: 18.5px; line-height: 1.5; color: var(--text-mute);
  margin: 0 0 8px; text-wrap: pretty;
}
.post-meta {
  font-family: var(--mono); font-size: 12.5px; color: var(--text-subtle);
  margin: 0 0 14px; letter-spacing: 0.2px;
}
article {
  padding: 8px 0 8px;
  font-size: 17px; line-height: 1.7; color: #2a2622;
}
article > hr {
  border: none; border-top: 1px solid var(--border);
  margin: 34px 0;
}
article h2 {
  font-size: 25px; font-weight: 650; letter-spacing: -0.5px; line-height: 1.2;
  margin: 40px 0 14px; color: var(--text); text-wrap: balance;
}
article h3 {
  font-size: 19px; font-weight: 650; letter-spacing: -0.3px;
  margin: 28px 0 10px; color: var(--text);
}
article p { margin: 0 0 18px; text-wrap: pretty; }
article strong { font-weight: 650; color: var(--text); }
article a { color: var(--green); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
article a:hover { text-decoration-thickness: 2px; }
article ul { margin: 0 0 20px; padding-left: 22px; }
article li { margin: 0 0 9px; padding-left: 4px; }
article li::marker { color: var(--green); }
article code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--surface-alt); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 5px; color: var(--text);
}
article pre {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; overflow-x: auto;
  margin: 0 0 20px; line-height: 1.5;
}
article pre code {
  background: none; border: none; padding: 0; font-size: 14px; color: var(--text);
}
/* Table (comparison) */
.table-scroll { overflow-x: auto; margin: 0 0 22px; }
article table {
  border-collapse: collapse; width: 100%; font-size: 14.5px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
article thead { background: var(--surface-alt); }
article th {
  text-align: left; font-weight: 650; color: var(--text);
  padding: 11px 14px; border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
article td {
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  color: var(--text-mute);
}
article tbody tr:last-child td { border-bottom: none; }
article td:first-child, article th:first-child { color: var(--text); font-weight: 550; }

/* Article CTA */
.article-cta {
  margin: 44px 0 12px;
  background: var(--near-black); color: #fafaf7;
  border-radius: 18px; padding: 30px 32px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.article-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 90% 50%, rgba(35,165,90,0.22), transparent 65%);
}
.article-cta > * { position: relative; z-index: 1; }
.article-cta-text { flex: 1; min-width: 220px; }
.article-cta-text strong { font-size: 19px; font-weight: 650; letter-spacing: -0.4px; display: block; margin-bottom: 5px; }
.article-cta-text span { font-size: 14.5px; color: rgba(250,247,240,0.66); line-height: 1.5; }

/* Workplace policy note above article CTAs */
.policy-note {
  max-width: 760px; margin: 36px auto 0;
  font-size: 13.5px; line-height: 1.55; color: var(--text-mute);
  padding-left: 14px; border-left: 2px solid var(--border-strong);
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.faq-list { padding: 12px 0 40px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 4px; text-align: left;
  font-family: var(--sans); font-size: 18px; font-weight: 600;
  letter-spacing: -0.3px; color: var(--text); line-height: 1.4;
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  margin-left: auto; flex-shrink: 0; width: 20px; height: 20px;
  position: relative; margin-top: 3px; color: var(--text-subtle);
  transition: transform .25s ease, color .15s;
}
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-item[data-open="true"] .faq-q { color: var(--green); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height .32s ease;
}
.faq-item[data-open="true"] .faq-a { max-height: 1200px; }
.faq-a-inner {
  padding: 0 40px 24px 4px;
  font-size: 16px; line-height: 1.65; color: var(--text-mute);
  text-wrap: pretty;
}
.faq-a-inner code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--surface-alt); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 5px; color: var(--text);
}
.kbd {
  font-family: var(--mono); font-size: 0.82em; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-bottom-width: 2px; padding: 1px 6px; border-radius: 5px; color: var(--text);
  white-space: nowrap;
}

/* ---------- Download buttons (Mac + Windows) ---------- */
.dl-group { display: inline-block; }
.dl-buttons { display: flex; gap: 12px; flex-wrap: nowrap; align-items: flex-start; }
.dl-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.dl-req { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: var(--text-subtle); font-family: var(--mono); max-width: 175px; }
@media (max-width: 560px) { .dl-buttons { flex-wrap: wrap; } }
.btn-win {
  background: #fff; color: var(--near-black);
  border-color: var(--border-strong);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn-win:hover { background: var(--surface-alt); }
.dl-ico { flex-shrink: 0; }
/* On the dark article CTA card */
.article-cta .dl-req { color: rgba(250,247,240,0.5); }

/* Rich FAQ answers (numbered steps) */
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner .faq-sub { font-weight: 650; color: var(--text); margin: 16px 0 4px; }
.faq-a-inner ol, .faq-a-inner ul { margin: 4px 0 14px; padding-left: 22px; }
.faq-a-inner li { margin: 0 0 7px; padding-left: 3px; }
.faq-a-inner li::marker { color: var(--green); font-weight: 600; }
.faq-a-inner strong { color: var(--text); font-weight: 600; }


/* ---------- Product landing pages (/auto-clicker-mac/, /auto-clicker-windows/, etc.) ---------- */
.lp-head { padding: 60px 0 22px; }
.lp-head h1 { max-width: 760px; }
.lp-head .lede { max-width: 620px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.lp-ctas .btn { font-size: 15px; padding: 12px 20px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.lp-trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-mute); font-weight: 500; }
.lp-trust-item svg { color: var(--green); flex-shrink: 0; }
.lp-official { max-width: 540px; margin: 18px 0 0; padding: 14px 16px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 12px; }
.lp-official-title { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 650; color: var(--text); }
.lp-official-title svg { color: var(--green); flex-shrink: 0; }
.lp-official p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-mute); }
.lp-sec { padding: 44px 0; }
.lp-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-sec > .wrap > h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 700; letter-spacing: -1px; line-height: 1.12; margin: 0 0 14px; text-wrap: balance; max-width: 700px; }
.lp-prose { max-width: 680px; }
.lp-prose p { font-size: 16.5px; color: #2a2622; line-height: 1.7; margin: 0 0 16px; text-wrap: pretty; }
.lp-prose p:last-child { margin-bottom: 0; }
.lp-prose strong { font-weight: 650; color: var(--text); }
.lp-prose a { color: var(--green); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }
.lp-prose ul { max-width: 680px; margin: 0 0 16px; padding-left: 22px; }
.lp-prose li { font-size: 16.5px; color: #2a2622; line-height: 1.6; margin: 0 0 8px; }
.lp-prose li::marker { color: var(--green); }
.lp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.lp-feat { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.lp-feat-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(35,165,90,0.08); border: 1px solid rgba(35,165,90,0.2); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lp-feat h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -0.3px; margin: 0 0 7px; }
.lp-feat p { font-size: 14px; color: var(--text-mute); line-height: 1.55; margin: 0; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.lp-step { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.lp-step-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green); background: rgba(35,165,90,0.08); border: 1px solid rgba(35,165,90,0.22); width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.lp-step h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.3px; margin: 0 0 8px; }
.lp-step p { font-size: 14.5px; color: var(--text-mute); line-height: 1.55; margin: 0; }
.lp-uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 26px; margin: 24px 0 0; padding: 0; list-style: none; max-width: 820px; }
.lp-uses li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: #2a2622; line-height: 1.5; }
.lp-uses svg { color: var(--green); flex-shrink: 0; margin-top: 4px; }
.lp-cmp { overflow-x: auto; margin: 26px 0; max-width: 820px; }
.lp-cmp table { border-collapse: collapse; width: 100%; font-size: 14.5px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); }
.lp-cmp thead { background: var(--surface-alt); }
.lp-cmp th { text-align: center; font-weight: 650; color: var(--text); padding: 12px 14px; border-bottom: 1px solid var(--border-strong); }
.lp-cmp th:first-child { text-align: left; }
.lp-cmp td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-mute); text-align: center; }
.lp-cmp td:first-child { text-align: left; color: var(--text); font-weight: 550; }
.lp-cmp tbody tr:last-child td { border-bottom: none; }
.lp-cmp .yes { color: var(--green); font-weight: 700; }
.lp-cmp .no { color: var(--text-subtle); }
.lp-note { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px; max-width: 780px; margin-top: 22px; }
.lp-note p { font-size: 15px; color: var(--text-mute); line-height: 1.62; margin: 0 0 12px; }
.lp-note p:last-child { margin-bottom: 0; }
.lp-note strong { color: var(--text); font-weight: 600; }
.lp-note a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lp-note ul { margin: 4px 0 12px; padding-left: 20px; list-style: none; }
.lp-note li { font-size: 14.5px; color: var(--text-mute); line-height: 1.5; margin: 0 0 7px; padding-left: 18px; position: relative; }
.lp-note li::before { content: "—"; position: absolute; left: 0; color: var(--text-subtle); }
.lp-final { padding: 24px 0 12px; }
.lp-final .article-cta { margin: 14px 0 0; }
@media (max-width: 820px) { .lp-feats, .lp-steps { grid-template-columns: 1fr; } .lp-uses { grid-template-columns: 1fr; } }
