:root {
  /* Palette drawn from the Postrider logo: espresso brown, parchment, bronze-gold */
  --ink: #2b2018;        /* dark espresso (wordmark) */
  --muted: #6f5a46;      /* muted saddle brown */
  --accent: #9a6a2f;     /* bronze / saddle gold (ring + star) */
  --accent-dark: #7c531f;
  --bg: #fbf6ec;         /* warm white */
  --bg-alt: #f2e7d5;     /* parchment */
  --border: #e6d8c2;     /* tan */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
}
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(251,246,236,0.95); backdrop-filter: blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 20px; color: var(--accent); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fdf6ea; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 1px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding: 72px 0; background: linear-gradient(180deg, #f2e7d5 0%, var(--bg) 100%); text-align: center; }
.hero-logo { width: 100%; max-width: 340px; height: auto; margin: 0 auto 12px; display: block; }
.tagline { font-size: 17px; letter-spacing: 0.02em; color: var(--accent); font-weight: 600; margin: 0 0 24px; }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 20ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 28px; }
h3 { font-size: 18px; margin: 0 0 8px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fffdf8; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card p { color: var(--muted); margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 20px; }

/* Fine print under CTAs */
.fineprint { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Pricing cards */
.grid > .price-card { display: flex; flex-direction: column; }
.price-card .price { color: var(--ink); margin: 4px 0 16px; }
.price-card .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .per { color: var(--muted); font-size: 16px; margin-left: 6px; }
.price-card .checklist { margin-bottom: 20px; }
.price-card .btn { margin-top: auto; text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .container { gap: 16px; flex-wrap: wrap; }

/* Legal pages (Terms / Privacy) and long-form pages like release notes */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { margin-top: 28px; }
.legal h3 { margin-top: 22px; margin-bottom: 6px; font-size: 18px; }
.legal article + article { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal code { background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; font-size: 13px; }
.legal p, .legal li { color: var(--ink); line-height: 1.6; }
.muted { color: var(--muted); }

@media (max-width: 760px) {
  .hero h1 { font-size: 34px; }
  .grid, .two-col { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
