:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --text: #111827; /* gray-900 */
  --muted: #6b7280; /* gray-500 */
  --link: #1d4ed8; /* blue-700 */
  --primary: #16a34a; /* green-600 */
  --primary-hover: #15803d; /* green-700 */
  --border: #e5e7eb; /* gray-200 */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; }
.logo {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px;
  background: #111827; color: #fff; font-weight: 800; font-size: 14px;
}

.nav { display: none; gap: 16px; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-link:hover { color: var(--text); }

a { color: var(--link); text-underline-offset: 2px; }

.section { padding: 52px 0; }
.hero { padding: 72px 0 40px; text-align: left; }
.hero-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.15;
  margin: 10px 0 12px;
}
.eyebrow { color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.byline { color: var(--muted); margin-bottom: 18px; }
.date { color: var(--muted); }

/* Minimalist look: remove cards/shadows, use subtle separators */
.card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.highlight { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.prose h2 { margin: 0 0 10px; font-size: 26px; font-family: Georgia, Cambria, "Times New Roman", Times, serif; }
.prose p { margin: 10px 0; }
.prose.small { font-size: 14px; }
.muted { color: var(--muted); }
.tiny { color: var(--muted); font-size: 12px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.cta-inline { margin-top: 12px; }

.btn {
  --pad-x: 18px; --pad-y: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 8px; text-decoration: none; font-weight: 700; letter-spacing: 0.2px;
  border: 1px solid var(--border); cursor: pointer; color: var(--text);
}
.btn-xl { --pad-y: 13px; --pad-x: 22px; font-size: 16px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--text); }
.btn-buy { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-buy:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.list { padding-left: 18px; }
.list li { margin: 8px 0; }
.list.ordered { padding-left: 22px; }

blockquote { margin: 14px 0; padding: 0 0 0 14px; border-left: 3px solid var(--border); }

.stats { list-style: none; padding: 0; margin: 0 0 8px; }
.stats li { padding: 2px 0; color: var(--text); }

.grid.two { display: grid; gap: 20px; grid-template-columns: 1fr; }

.price-card { margin-top: 8px; background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.price-title { color: var(--muted); font-weight: 700; }
.price-value { font-size: 34px; font-weight: 800; margin: 4px 0; font-family: Georgia, Cambria, "Times New Roman", Times, serif; }
.price-value span { font-size: 16px; color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); margin-bottom: 8px; }

.site-footer { padding: 32px 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.sticky-cta { position: fixed; bottom: 16px; left: 0; right: 0; display: none; justify-content: center; z-index: 60; }
.sticky-cta .btn { box-shadow: none; }

/* Blog Preview Section */
.blog-preview { background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%); }
.blog-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 32px 0; }
.blog-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; transition: all 0.2s ease; }
.blog-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.blog-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.blog-author { font-weight: 500; }
.blog-title a { text-decoration: none; color: var(--text); font-size: 18px; font-weight: 600; line-height: 1.3; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { color: var(--muted); line-height: 1.6; flex-grow: 1; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--bg-2); color: var(--muted); padding: 4px 12px; border-radius: 16px; font-size: 12px; font-weight: 500; }
.blog-link { color: var(--primary); text-decoration: none; font-weight: 500; align-self: flex-start; }
.blog-link:hover { text-decoration: underline; }
.blog-cta { text-align: center; margin-top: 32px; }

/* Stripe Buy Button Styling */
stripe-buy-button {
  --stripe-buy-button-height: 48px;
  --stripe-buy-button-border-radius: 8px;
  --stripe-buy-button-primary-color: #a78bfa;
  --stripe-buy-button-background-color: #a78bfa;
  --stripe-buy-button-text-color: #ffffff;
  --stripe-buy-button-font-family: inherit;
  --stripe-buy-button-font-size: 16px;
  --stripe-buy-button-font-weight: 600;
  display: inline-block;
}


/* Responsive */
@media (min-width: 860px) {
  .nav { display: flex; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .hero { padding: 96px 0 48px; }
}
