/* Ultimate QSR — single stylesheet, operator-empathy direction (warm + diner-grade) */
/* DG1 locked palette: Burnt Orange #D2691E + Deep Espresso #2A1F1A + Cream #FAF7F2 */

:root {
  /* DG1 locked palette */
  --burnt-orange:    #D2691E;
  --burnt-orange-dk: #B25618; /* hover */
  --burnt-orange-soft: #FBEDE0; /* tint for callouts */
  --deep-espresso:   #2A1F1A;
  --espresso-soft:   #4A3A33; /* secondary text */
  --espresso-muted:  #7B6A60; /* meta text */
  --cream:           #FAF7F2;
  --cream-card:      #FFFFFF;
  --border:          #E7DDD2;
  --shadow:          0 1px 3px rgba(42, 31, 26, 0.06), 0 1px 2px rgba(42, 31, 26, 0.04);
  --radius:          8px;
  --max-w:           720px;
  --max-w-wide:      1040px;
}

* { 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.65;
  color: var(--espresso-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img { max-width: 100%; height: auto; display: block; }

/* 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(--cream-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site-header .shell-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--deep-espresso);
  letter-spacing: -0.01em;
}
.brand img { height: 36px; width: auto; }
.brand a { color: inherit; display: flex; align-items: center; gap: 10px; }
nav.site-nav a { margin-left: 28px; color: var(--espresso-soft); font-weight: 500; font-size: 15px; }
nav.site-nav a:hover { color: var(--burnt-orange); text-decoration: none; }

/* Hero */
.hero {
  padding: 72px 0 64px;
  background: var(--cream-card);
  border-bottom: 1px solid var(--border);
}
.hero .shell-wide {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burnt-orange);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--deep-espresso);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero .tagline {
  font-size: 19px;
  color: var(--espresso-soft);
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero .cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta {
  display: inline-block;
  background: var(--burnt-orange);
  color: var(--cream-card);
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.005em;
  transition: background 0.15s ease;
  border: none;
  cursor: pointer;
}
.cta:hover { background: var(--burnt-orange-dk); text-decoration: none; color: var(--cream-card); }
.cta-secondary {
  color: var(--burnt-orange);
  font-weight: 600;
  font-size: 15px;
}
.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(42, 31, 26, 0.12);
}
.trust-strip {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--espresso-muted);
  font-size: 14px;
  font-style: italic;
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--cream-card); }
section h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--deep-espresso);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
section .section-subhead {
  font-size: 18px;
  color: var(--espresso-soft);
  margin-bottom: 32px;
  max-width: 680px;
}
section h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--deep-espresso);
  margin: 28px 0 12px;
}
section p { margin-bottom: 16px; }
section ul, section ol { margin-bottom: 16px; padding-left: 24px; }
section li { margin-bottom: 8px; }

/* Callout box (pain hook, stakes) */
.callout {
  background: var(--burnt-orange-soft);
  border-left: 4px solid var(--burnt-orange);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 32px 0;
  font-size: 17px;
  color: var(--deep-espresso);
  font-weight: 500;
}

/* Plan steps */
.plan-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0 20px;
  align-items: start; /* cards keep their natural height instead of stretching to tallest */
}
.plan-step {
  background: var(--cream);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.plan-step .numeral {
  font-size: 36px;
  font-weight: 800;
  color: var(--burnt-orange);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, 'Times New Roman', serif;
}
.plan-step h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--deep-espresso);
}
.plan-step p { font-size: 15.5px; color: var(--espresso-soft); margin: 0; }

/* Stat blocks */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 24px;
}
.stat-block {
  background: var(--cream);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}
.stat-block .numeral {
  font-size: 40px;
  font-weight: 800;
  color: var(--burnt-orange);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-block p { font-size: 15px; color: var(--espresso-soft); margin: 0; line-height: 1.45; }
.stat-caption {
  font-size: 14px;
  font-style: italic;
  color: var(--espresso-muted);
  margin-top: 16px;
  max-width: 720px;
}

/* Article (blog post) */
article.post { background: var(--cream-card); padding: 56px 0 72px; }
article.post .shell h1 {
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--deep-espresso);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
article.post .post-meta {
  color: var(--espresso-muted);
  font-size: 14px;
  margin-bottom: 40px;
}
article.post .shell h2 {
  font-size: 26px;
  margin: 40px 0 16px;
  color: var(--deep-espresso);
}
article.post .shell h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--deep-espresso);
}
article.post .shell strong { color: var(--deep-espresso); }
article.post .shell hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0 28px;
}
.post-cta {
  background: var(--burnt-orange-soft);
  padding: 28px;
  border-radius: var(--radius);
  margin-top: 32px;
  text-align: center;
}
.post-cta p { font-weight: 600; color: var(--deep-espresso); font-size: 18px; margin-bottom: 16px; }

/* Blog index */
.post-list .post-card {
  background: var(--cream-card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.post-list .post-card:hover {
  box-shadow: 0 6px 18px rgba(42, 31, 26, 0.10);
  transform: translateY(-1px);
}
.post-list .post-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--deep-espresso);
}
.post-list .post-card h2 a { color: var(--deep-espresso); }
.post-list .post-card h2 a:hover { color: var(--burnt-orange); text-decoration: none; }
.post-list .post-card p { color: var(--espresso-soft); margin-bottom: 0; font-size: 15px; }
.post-list .post-card .read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--burnt-orange);
}

/* Lead form fields */
.lead-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 8px; }
.lead-form form .full { grid-column: 1 / -1; }
.lead-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-espresso);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.lead-form label .req { color: var(--burnt-orange); margin-left: 2px; }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--deep-espresso);
  background: var(--cream-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--burnt-orange);
  box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.15);
}
.lead-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%237B6A60' d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.lead-form .honeypot { position: absolute; left: -10000px; height: 0; width: 0; overflow: hidden; }
.lead-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
  font-size: 17px;
  padding: 16px 28px;
}
.lead-form .form-msg {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  display: none;
}
.lead-form .form-msg.ok { display: block; background: #E7F5E8; color: #1F5223; border: 1px solid #B6D9BB; }
.lead-form .form-msg.err { display: block; background: #FBEAE1; color: #8B3A0E; border: 1px solid #E8B79B; }
.lead-form .form-fineprint {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--espresso-muted);
  text-align: center;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .lead-form form { grid-template-columns: 1fr; }
}

/* Lead form section */
.lead-form {
  background: var(--burnt-orange-soft);
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.lead-form h2 { color: var(--deep-espresso); }
.lead-form p { color: var(--espresso-soft); margin-bottom: 24px; max-width: 640px; }
.lead-form .form-embed {
  background: var(--cream-card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 24px;
  border: 1px solid var(--border);
}
.lead-form .reassurance {
  font-size: 14px;
  color: var(--espresso-muted);
  margin-top: 16px;
  font-style: italic;
}

/* Footer */
footer.site-footer {
  background: var(--deep-espresso);
  color: var(--cream);
  padding: 48px 0 36px;
  font-size: 14px;
}
footer.site-footer a { color: var(--cream); }
footer.site-footer a:hover { color: var(--burnt-orange); 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-brand { font-weight: 600; color: var(--cream); }
footer.site-footer .footer-links a { margin-left: 22px; color: var(--cream); }
footer.site-footer .footer-tagline {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  color: rgba(250, 247, 242, 0.7);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 880px) {
  .hero .shell-wide { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 36px; }
  .plan-steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero .tagline { font-size: 17px; }
  section { padding: 44px 0; }
  section h2 { font-size: 26px; }
  article.post .shell h1 { font-size: 28px; }
  nav.site-nav a { margin-left: 14px; font-size: 13px; }
  footer.site-footer .shell-wide { flex-direction: column; align-items: flex-start; }
  footer.site-footer .footer-links a { margin-left: 0; margin-right: 16px; }
  .stat-grid { grid-template-columns: 1fr; }
}
