/* Ultimate QSR — single stylesheet, operator-empathy direction (warm + professional) */
/* Palette + typography choices follow ultimate-qsr-build-spec.md §Visual identity (minimal). */
/* DG1 may patch palette values after color-pick lock — placeholder palette below. */

:root {
  /* Palette — slate + warm orange-red accent direction (DG1 may swap to teal+white) */
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-50:  #F8FAFC;
  --accent:    #DD5530; /* warm operator-empathy orange-red; DG1 may swap */
  --accent-soft: #FDF1ED;
  --white:     #FFFFFF;
  --radius:    8px;
  --shadow:    0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --max-w:     720px;
  --max-w-wide: 960px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout shell */
.shell { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.shell-wide { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 16px 0;
}
header.site-header .shell-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand { font-size: 20px; font-weight: 700; color: var(--slate-900); letter-spacing: -0.01em; }
.brand a { color: inherit; }
nav.site-nav a { margin-left: 24px; color: var(--slate-700); font-weight: 500; font-size: 15px; }
nav.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero { padding: 80px 0 60px; background: var(--white); border-bottom: 1px solid var(--slate-200); }
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero .tagline {
  font-size: 20px;
  color: var(--slate-700);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero .cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
}
.hero .cta:hover { background: #C44A2A; text-decoration: none; }

/* Sections */
section { padding: 60px 0; }
section h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
section h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--slate-900);
  margin: 32px 0 12px;
}
section p { margin-bottom: 16px; }
section ul, section ol { margin-bottom: 16px; padding-left: 24px; }
section li { margin-bottom: 8px; }

/* Article (blog post) */
article.post { background: var(--white); padding: 56px 0; }
article.post .shell h1 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
article.post .post-meta {
  color: var(--slate-500);
  font-size: 14px;
  margin-bottom: 40px;
}
article.post .shell h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}
article.post .shell h3 {
  font-size: 20px;
  margin: 28px 0 12px;
}

/* Blog index */
.post-list .post-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid var(--slate-200);
}
.post-list .post-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.post-list .post-card h2 a { color: var(--slate-900); }
.post-list .post-card h2 a:hover { color: var(--accent); text-decoration: none; }
.post-list .post-card p { color: var(--slate-700); margin-bottom: 0; font-size: 15px; }

/* Lead form section */
.lead-form {
  background: var(--accent-soft);
  padding: 56px 0;
  border-top: 1px solid var(--slate-200);
}
.lead-form h2 { color: var(--slate-900); }
.lead-form p { color: var(--slate-700); margin-bottom: 28px; }
.lead-form .form-embed {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Mailchimp embedded form HTML pasted into .form-embed at deploy time */

/* Footer */
footer.site-footer {
  background: var(--slate-900);
  color: var(--slate-200);
  padding: 40px 0 32px;
  font-size: 14px;
}
footer.site-footer a { color: var(--slate-200); }
footer.site-footer a:hover { color: var(--white); text-decoration: underline; }
footer.site-footer .shell-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer .footer-links a { margin-left: 20px; }

/* Responsive */
@media (max-width: 700px) {
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 17px; }
  section { padding: 40px 0; }
  section h2 { font-size: 26px; }
  article.post .shell h1 { font-size: 28px; }
  nav.site-nav a { margin-left: 16px; font-size: 14px; }
  footer.site-footer .shell-wide { flex-direction: column; align-items: flex-start; }
  footer.site-footer .footer-links a { margin-left: 0; margin-right: 16px; }
}
