/* Shared styles for the content pages (everything except index.html and the
   three legal pages, which carry their own inline CSS and are left alone).

   One file rather than inline blocks: there are sixteen of these pages and a
   palette change should not mean sixteen edits. Same tokens as index.html, so
   a visitor moving between them sees one site. Keep the two in sync by hand;
   there is no build step here. */

:root {
  --sage-50: #f3f6f2;
  --sage-100: #e3ebe0;
  --sage-200: #c7d8c1;
  --sage-400: #8aa982;
  --sage-600: #5c7a54;
  --sage-700: #46603f;
  --amber-100: #fbedcf;
  --amber-400: #e8a33d;
  --amber-500: #d98e22;
  --lavender-100: #ece9f6;
  --lavender-300: #c4bae6;
  --lavender-500: #8a78c4;
  --ink: #2b2d2a;
  --ink-soft: #5a5e57;
  --cream: #fbfaf6;
  --white: #ffffff;
  --shadow: 0 12px 40px -12px rgba(70, 96, 63, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
a { color: var(--sage-600); }
.wrap { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav, matching index.html */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-100);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
  display: grid; place-items: center; color: white; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.95rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-block; font-weight: 600; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--sage-600); color: white; box-shadow: 0 6px 18px -6px rgba(70,96,63,0.5); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber-400); color: #3a2a08; }
.btn-amber:hover { transform: translateY(-1px); }
.nav-links .btn { padding: 9px 18px; }

/* Article head */
.crumb { font-size: 0.86rem; color: var(--ink-soft); padding: 26px 0 0; }
.crumb a { text-decoration: none; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-600); }
.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin: 10px 0 16px; }
.page-head .lead { font-size: 1.18rem; color: var(--ink-soft); }

article { padding: 20px 0 8px; }
article h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 42px 0 12px; color: var(--sage-700); }
article h3 { font-size: 1.15rem; margin: 26px 0 8px; }
article p { color: var(--ink-soft); margin-bottom: 14px; }
article ul, article ol { color: var(--ink-soft); padding-left: 22px; margin-bottom: 16px; }
article li { margin-bottom: 8px; }
article strong { color: var(--ink); }

/* Callout */
.note {
  background: var(--sage-50); border: 1px solid var(--sage-100); border-left: 4px solid var(--sage-400);
  border-radius: 12px; padding: 18px 22px; margin: 24px 0;
}
.note p:last-child { margin-bottom: 0; }
.note.amber { background: var(--amber-100); border-color: var(--amber-400); border-left-color: var(--amber-500); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 8px; }
.step { background: var(--white); border: 1px solid var(--sage-100); border-radius: 16px; padding: 22px; }
.step .num {
  width: 32px; height: 32px; border-radius: 9px; background: var(--sage-100); color: var(--sage-700);
  font-family: 'Fraunces', serif; font-weight: 600; display: grid; place-items: center; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.step p { font-size: 0.94rem; margin: 0; }

/* Comparison table */
.table-scroll { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.96rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--sage-100); vertical-align: top; }
th { font-family: 'Fraunces', serif; font-weight: 600; color: var(--sage-700); background: var(--sage-50); }
td { color: var(--ink-soft); }
td:first-child { color: var(--ink); font-weight: 500; }

/* FAQ */
details {
  background: var(--white); border: 1px solid var(--sage-100); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 12px;
}
summary { font-weight: 600; cursor: pointer; color: var(--ink); }
summary::marker { color: var(--sage-400); }
details p { margin: 12px 0 0; }

/* Pricing card */
.price-card {
  max-width: 440px; margin: 28px auto; background: var(--white); border: 1px solid var(--sage-200);
  border-radius: 24px; padding: 36px; text-align: center; box-shadow: var(--shadow);
}
.pill { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pill-sage { background: var(--sage-100); color: var(--sage-700); }
.price { font-family: 'Fraunces', serif; font-size: 3.2rem; font-weight: 600; margin: 16px 0 4px; }
.price span { font-size: 1.05rem; color: var(--ink-soft); font-family: 'DM Sans', sans-serif; font-weight: 500; }
.price-card ul { list-style: none; text-align: left; margin: 22px 0 26px; display: grid; gap: 11px; padding: 0; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 0.97rem; }
.check { color: var(--sage-600); font-weight: 700; flex-shrink: 0; }

/* CTA band */
.cta {
  background: linear-gradient(135deg, var(--sage-600), var(--sage-700)); border-radius: 26px;
  padding: 48px 40px; text-align: center; color: white; margin: 52px 0 8px;
}
.cta h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 12px; }
.cta p { color: var(--sage-100); max-width: 48ch; margin: 0 auto 24px; }
.cta .btn-amber { font-size: 1.02rem; }
.cta .micro { font-size: 0.85rem; color: var(--sage-200); margin: 16px 0 0; }

/* Related links */
.related { margin: 52px 0 0; }
.related h2 { font-size: 1.3rem; margin-bottom: 16px; }
.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rel-grid a {
  display: block; background: var(--white); border: 1px solid var(--sage-100); border-radius: 14px;
  padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.96rem;
  transition: border-color 0.15s, transform 0.12s;
}
.rel-grid a:hover { border-color: var(--sage-400); transform: translateY(-1px); }
.rel-grid small { display: block; color: var(--ink-soft); font-weight: 400; margin-top: 3px; font-size: 0.86rem; }

footer { padding: 44px 0; border-top: 1px solid var(--sage-100); margin-top: 56px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--ink-soft); font-size: 0.9rem; }
.foot-inner a { color: inherit; text-decoration: none; }
.foot-inner a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .steps, .rel-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn):not(.nav-signin) { display: none; }
  .nav-links { gap: 14px; }
  .nav-signin { white-space: nowrap; font-size: 0.92rem; }
  .nav-links .btn { padding: 9px 14px; font-size: 0.86rem; white-space: nowrap; }
  .logo { font-size: 1.05rem; gap: 8px; }
  .cta { padding: 38px 24px; }
}
