/* assets/pages.css
   Shared styling for the standalone public pages: pricing, terms, privacy,
   refunds. Tokens are copied from index.html so these pages read as the same
   product without pulling in the estimator's 15k-line stylesheet.

   Links in these pages are ROOT-RELATIVE (/pricing, /assets/...). They are
   served through netlify.toml 200-rewrites, so the address bar shows /pricing
   while the file is pricing.html — document-relative paths would resolve
   against /pricing and 404. */

:root {
  --bg:          #f5f5f5;
  --bg-2:        #ffffff;
  --bg-3:        #ebebeb;
  --border:      #d0d0d0;
  --border-dark: #b0b0b0;
  --text:        #1a1a1a;
  --text-dim:    #666666;
  --text-light:  #999999;
  --accent:      #3a7d44;
  --accent-mid:  #5aaa64;
  --accent-dim:  rgba(58,125,68,0.06);
  --red:         #c0392b;
  --radius:      4px;
  --shadow:      0 1px 4px rgba(0,0,0,0.10);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  min-height: 100vh;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px 72px; }
.wrap--wide { max-width: 1040px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-head {
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  margin-bottom: 40px;
}
.site-head .inner {
  max-width: 1040px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-head img { height: 38px; width: auto; display: block; }
.site-head nav { display: flex; gap: 22px; font-size: 13.5px; }
.site-head nav a { color: var(--text-dim); text-decoration: none; }
.site-head nav a:hover { color: var(--accent); }

/* ── Type ───────────────────────────────────────────────────── */
h1 { font-size: 30px; line-height: 1.25; margin-bottom: 10px; font-weight: 700; }
h2 {
  font-size: 19px; margin: 34px 0 12px; font-weight: 700;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
h3 { font-size: 15.5px; margin: 22px 0 8px; font-weight: 700; }
p  { margin-bottom: 12px; }
ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
strong { font-weight: 700; }

.lede { font-size: 16px; color: var(--text-dim); margin-bottom: 28px; }
.updated { font-size: 13px; color: var(--text-light); margin-bottom: 30px; }

/* ── Pricing cards ──────────────────────────────────────────── */
.plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; margin: 30px 0 12px;
}
.plan {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 22px 22px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--accent); }
.plan h3 { margin: 0 0 4px; font-size: 17px; }
.plan .tagline { color: var(--text-dim); font-size: 13px; margin-bottom: 16px; }
.plan .price { font-size: 27px; font-weight: 700; line-height: 1.2; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--text-dim); }
.plan .alt { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.plan ul { list-style: none; margin: 18px 0 0; font-size: 13.5px; }
.plan ul li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.plan ul li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.plan ul li.no { color: var(--text-light); }
.plan ul li.no::before { content: '—'; color: var(--text-light); }
.badge {
  display: inline-block; background: var(--accent-dim); color: var(--accent);
  border: 1px solid var(--accent-mid); border-radius: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 2px 7px; margin-bottom: 10px;
}

/* ── Feature table ──────────────────────────────────────────── */
table { border-collapse: collapse; width: 100%; margin: 16px 0 24px; font-size: 13.5px; }
th, td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
th { background: var(--bg-3); font-weight: 700; }
td.c, th.c { text-align: center; width: 110px; }
.yes { color: var(--accent); font-weight: 700; }
.non { color: var(--text-light); }

/* ── Callout ────────────────────────────────────────────────── */
.note {
  background: var(--bg-2); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 14px 18px; margin: 22px 0; font-size: 13.5px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--border); margin-top: 56px;
  padding: 22px 24px 40px; font-size: 13px; color: var(--text-dim);
}
.site-foot .inner { max-width: 1040px; margin: 0 auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
.site-foot a { color: var(--text-dim); text-decoration: none; }
.site-foot a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 620px) {
  .site-head .inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  h1 { font-size: 25px; }
}
