/* ============================================================
   site.css
   Version: v1.0.0000
   Shared public-site styles for www1.restart.coach — replicates the
   look of the original restart.coach WordPress site (nav, hero,
   cards, footer) without any page-builder dependency.
   CHANGELOG:
   v1.0.0000 — Initial build.
   ============================================================ */

:root {
  --navy: #1e1b6e;
  --navy-dark: #201c78;
  --rust: #b8481f;
  --rust-dark: #9c3c19;
  --cream: #f4f6fb;
  --text: #33364a;
  --muted: #6b7280;
  --border: #e3e6f0;
  --footer-bg: #241f8a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Header / nav ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.site-logo { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-weight: 600; font-size: 0.95rem; color: var(--navy); white-space: nowrap; }
.site-nav a.active, .site-nav a:hover { color: var(--rust); }
.site-nav a.nav-cta { color: var(--rust); }
.site-nav a.nav-login { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .site-nav { position: fixed; inset: 80px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 24px; gap: 1.25rem; display: none; overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; border: none; cursor: pointer;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--navy); }

/* ---- Hero ---- */
.hero { background: var(--cream); padding: 64px 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--rust); font-weight: 700; font-style: italic; margin: 0 0 8px; }
.hero h1 { font-size: 2.75rem; line-height: 1.15; color: var(--navy); margin: 0 0 20px; }
.hero p { color: var(--muted); margin: 0 0 12px; max-width: 46ch; }
.hero img { width: 100%; border-radius: 16px; display: block; object-fit: cover; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } }

/* ---- Generic sections ---- */
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.eyebrow { color: var(--rust); font-weight: 700; margin: 0 0 8px; }
h2.section-title { color: var(--navy); font-size: 2rem; margin: 0 0 24px; }

/* ---- Steps grid ---- */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 32px 0; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.step-card .num { color: var(--rust); font-weight: 800; font-size: 0.85rem; margin: 0 0 6px; }
.step-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

.step-article { max-width: 760px; margin: 0 auto; }
.step-article h2 { color: var(--navy); margin-top: 40px; }
.step-article .mindset { background: var(--cream); border-left: 4px solid var(--rust); padding: 14px 18px; border-radius: 8px; font-weight: 600; margin: 20px 0 0; }

/* ---- Feature pills (Customized Strategies / Expert Guidance / etc.) ---- */
.feature-pills { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.feature-pill {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 22px; font-weight: 700; color: var(--navy); font-size: 0.95rem;
}
.feature-pill .check { color: #fff; background: var(--rust); width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }

/* ---- Q&A cards ---- */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 820px) { .qa-grid { grid-template-columns: 1fr; } }
.qa-card { background: #fff; border-left: 4px solid var(--rust); border-radius: 10px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(30,27,110,0.06); }
.qa-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.qa-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---- Cards / testimonials ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
.testimonial { background: #f7f8fc; border-radius: 14px; padding: 28px; }
.testimonial p.quote { font-style: italic; color: var(--text); margin: 0 0 18px; font-size: 0.95rem; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .who .name { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial .who .role { color: var(--rust); font-size: 0.8rem; }

/* ---- Stats ---- */
.stat { border-left: 3px solid var(--navy); padding-left: 18px; margin-bottom: 20px; }
.stat b { font-size: 1.05rem; }
.stat .source { color: var(--muted); font-style: italic; font-size: 0.85rem; }

/* ---- Bio ---- */
.bio { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.bio img { width: 100%; border-radius: 16px; }
@media (max-width: 820px) { .bio { grid-template-columns: 1fr; } }

/* ---- Blog ---- */
.post-list { display: grid; gap: 20px; }
.post-row { display: flex; justify-content: space-between; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.post-row .cat { display: inline-block; background: var(--cream); color: var(--rust); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.post-row h3 { margin: 0 0 4px; color: var(--navy); }
.post-row .date { color: var(--muted); font-size: 0.85rem; }

.post-article { max-width: 720px; margin: 0 auto; }
.post-article .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.post-article .cat-badge { display: inline-block; background: var(--cream); color: var(--rust); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.post-article .body-content p { margin: 0 0 1.1em; }
.post-article .body-content img { max-width: 100%; border-radius: 10px; }
.post-article .mindset { background: var(--cream); border-left: 4px solid var(--rust); padding: 14px 18px; border-radius: 8px; font-weight: 600; margin: 24px 0 0; }

/* ---- Footer ---- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 56px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--rust); margin: 0 0 12px; }
.site-footer .helpful h3, .site-footer .start h3 { color: #fff; }
.site-footer p { color: #d8d9ef; font-size: 0.9rem; }
.site-footer .contact-line { display: flex; gap: 8px; align-items: center; margin: 8px 0; color: #d8d9ef; font-size: 0.9rem; }
.site-footer .socials { display: flex; gap: 14px; margin-top: 16px; }
.site-footer .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.footer-bottom { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); color: #b9badb; font-size: 0.85rem; }

/* ---- Small login pill in header ---- */
.login-pill { border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; }
