/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-card: #111;
  --bg-elevated: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #999;
  --accent: #00d4aa;
  --accent-glow: rgba(0, 212, 170, 0.25);
  --accent-dim: rgba(0, 212, 170, 0.1);
  --border: #1e1e1e;
  --radius: 16px;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.2s;
}
.nav-cta:hover { opacity: 0.85; text-decoration: none !important; box-shadow: 0 0 20px var(--accent-glow); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: transform 0.2s;
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
}

.accent { color: var(--accent); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.hero-visual {
  max-width: 760px;
  margin: 60px auto 0;
  opacity: 0.85;
}
.hero-visual svg { width: 100%; height: auto; }

.hero-proof {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 32px;
  letter-spacing: 0.01em;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 4px 24px var(--accent-glow); text-decoration: none; transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ===== Section Divider ===== */
section + section { border-top: 1px solid var(--border); }

/* ===== Pain Points ===== */
.pain-points { padding: 100px 0; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pain-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.pain-card:hover::before { opacity: 1; }

.pain-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-dim);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.pain-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.pain-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ===== How It Works (Brief) ===== */
.how-brief { padding: 100px 0; }
.how-brief h2 { text-align: center; font-size: 2rem; margin-bottom: 60px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  position: relative;
}

/* Connector lines between steps */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 28px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid rgba(0,212,170,0.2);
}

.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ===== Features Highlight ===== */
.features-highlight { padding: 100px 0; }
.features-highlight h2 { text-align: center; font-size: 2rem; margin-bottom: 60px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-dim);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--accent); }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== Numbers / Social Proof Strip ===== */
.stats-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; }
.faq-section h2 { text-align: center; font-size: 2rem; margin-bottom: 48px; }

.faq-list { max-width: 720px; margin: 0 auto; }

details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
summary:hover { color: var(--accent); }

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
details[open] summary::after { content: "\2212"; transform: rotate(180deg); }

details p { margin-top: 12px; color: var(--text-muted); line-height: 1.7; }

/* ===== Waitlist ===== */
.waitlist-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist-section::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.waitlist-section h2 { font-size: 2rem; margin-bottom: 12px; position: relative; }
.waitlist-section > .container > p { color: var(--text-muted); margin-bottom: 32px; position: relative; }

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.waitlist-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}
@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"],
  .waitlist-form button { width: 100%; }
}
.waitlist-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

.waitlist-form button {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.waitlist-form button:hover { box-shadow: 0 4px 20px var(--accent-glow); transform: translateY(-1px); }

.waitlist-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 1.4em;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand .logo-mark { font-size: 1.1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p { color: #555; font-size: 0.8rem; }

/* ===== Blog List ===== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,170,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 12px; position: relative; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; position: relative; }

.blog-list { padding: 0 0 100px; }
.blog-list .container { max-width: 800px; }

.blog-entry {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  transition: all 0.2s;
}
.blog-entry:first-child { padding-top: 0; }

.blog-entry h2 { font-size: 1.3rem; margin-bottom: 8px; }
.blog-entry h2 a { color: var(--text); transition: color 0.2s; }
.blog-entry h2 a:hover { color: var(--accent); text-decoration: none; }

.blog-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-meta span {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 4px;
}

.blog-entry p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ===== Single Article ===== */
.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.article-content h2 { font-size: 1.6rem; margin: 48px 0 16px; }
.article-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; color: var(--text-muted); line-height: 1.8; }
.article-content strong { color: var(--text); }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; color: var(--text-muted); }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
}
.article-content pre {
  background: var(--bg-elevated);
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.article-content pre code { background: none; color: var(--text-muted); }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-muted);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.article-content th, .article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
}
.article-content th { color: var(--text); font-weight: 600; }
.article-content td { color: var(--text-muted); }
.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.article-content em { color: var(--text-muted); }

/* ===== Page Content (Features, How-It-Works, Pricing) ===== */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.page-content h2 { font-size: 1.6rem; margin: 48px 0 16px; }
.page-content p { margin-bottom: 20px; color: var(--text-muted); line-height: 1.8; }
.page-content strong { color: var(--text); }
.page-content ul { margin: 0 0 20px 24px; color: var(--text-muted); }
.page-content li { margin-bottom: 8px; line-height: 1.7; }
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.page-content th, .page-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
}
.page-content th { color: var(--text); font-weight: 600; }
.page-content td { color: var(--text-muted); }

/* ===== Pricing Cards ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0,212,170,0.08);
}
.pricing-card.featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(0,212,170,0.3));
}

.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin: 16px 0 8px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-card .price-note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.pricing-card ul { list-style: none; text-align: left; margin: 0 0 36px; padding: 0; }
.pricing-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-card li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }

  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-visual { margin-top: 40px; }
  .pain-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-container { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GARAGE PAGE
   ============================================================ */

.garage-hero {
  padding: 60px 0 30px;
  background: radial-gradient(ellipse at top, rgba(0, 212, 170, 0.04), transparent 60%);
}
.garage-eyebrow {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.garage-intro h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 820px;
}
.garage-intro h1 .accent {
  color: var(--accent);
}
.garage-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 700px;
  margin-bottom: 32px;
}

.garage-status {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 8px;
  position: relative;
}
.garage-status.loading {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 32px;
}
.garage-status.status-normal {
  border-color: rgba(0, 212, 170, 0.3);
}
.garage-status.status-observe {
  border-color: rgba(255, 176, 26, 0.4);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.status-icon { font-size: 18px; }
.status-line {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}
.streak {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.streak strong {
  color: var(--accent);
  font-size: 18px;
}
.activity {
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-radius: 10px;
  display: inline-block;
  margin-top: 4px;
}
.updated {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 16px;
}
.status-error {
  text-align: center;
  color: #ff8888;
  padding: 30px;
}

.garage-detail {
  padding: 30px 0 80px;
}
.section-heading {
  font-size: 22px;
  font-weight: 700;
  margin: 30px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.section-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: -8px;
  margin-bottom: 18px;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.system-card.calibrating {
  opacity: 0.7;
  border-style: dashed;
}
.system-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.system-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.system-icon {
  font-size: 24px;
}
.system-title h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.system-status {
  font-size: 14px;
  font-weight: 600;
}
.calibrating-tag {
  color: var(--text-muted);
  font-style: italic;
}
.system-interpretation {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.metric {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-muted);
  border-radius: 10px;
  padding: 14px 16px;
}
.metric.rating-excellent { border-left-color: var(--accent); }
.metric.rating-good { border-left-color: #5fb1ff; }
.metric.rating-fair { border-left-color: #ffb01a; }
.metric.rating-poor { border-left-color: #ff5566; }

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.metric-label .trend {
  color: var(--accent);
  font-size: 14px;
  margin-left: 4px;
}
.metric-value {
  font-size: 22px;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--text);
  margin-bottom: 8px;
}
.metric-context {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.rating-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}
.metric-explain {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}

.garage-meta {
  background: rgba(255, 255, 255, 0.02);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.garage-meta h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.meta-grid h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}
.meta-grid p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.garage-cta {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.garage-cta p {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--text);
}
.garage-cta .btn {
  margin: 0 6px;
}

/* ============================================================
   HOMEPAGE HERO REDESIGN — live status card
   ============================================================ */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-fineprint {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 14px;
}

.hero-live {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color 0.4s;
}
.hero-live.loading {
  text-align: center;
  color: var(--text-muted);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-live-header {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.live-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.live-eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
}
.live-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.live-icon { font-size: 16px; }
.live-oneliner {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}
.live-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.live-stats li {
  text-align: center;
  min-width: 0;
}
.live-stats span {
  font-size: 10px;
  word-break: break-word;
}
.live-stats strong {
  display: block;
  font-size: 18px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--accent);
  margin-bottom: 4px;
}
.live-stats span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.live-activity {
  font-size: 13px;
  color: var(--text);
  background: var(--bg-elevated);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.live-systems {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.hero-live-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   POLISH: TOC, highlight boxes, invoice table emphasis
   ============================================================ */

/* Quick-nav TOC box for long pages */
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0 40px;
}
.toc-box h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 700;
}
.toc-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 20px;
}
.toc-box li {
  margin: 0;
}
.toc-box a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--text);
}
.toc-box a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Feature highlight block — call out a single feature visually */
.feature-highlight {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.06), rgba(0, 212, 170, 0.015));
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 48px 0;
  position: relative;
}
.feature-highlight::before {
  content: "INCLUDED";
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
}
.feature-highlight h2 {
  margin-top: 0;
  color: var(--text);
  padding-right: 100px;
}
.feature-highlight h3 {
  color: var(--accent);
  margin-top: 24px;
}
.feature-highlight p {
  color: var(--text);
}

/* Invoice-emphasis table on /about — receipts should look like receipts */
.page-content table {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.page-content thead th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
}
.page-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.page-content tbody tr:hover {
  background: rgba(0, 212, 170, 0.04);
}
.page-content tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.page-content tbody tr:last-child td {
  border-bottom: none;
}
/* Right-align the last column (cost) — numbers should right-align */
.page-content tbody td:last-child,
.page-content thead th:last-child {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}
/* Keep date and mileage columns on a single line each */
.page-content tbody td:nth-child(1),
.page-content tbody td:nth-child(2),
.page-content thead th:nth-child(1),
.page-content thead th:nth-child(2) {
  white-space: nowrap;
}
/* Emphasize cells that contain strong/bold (auto-emphasized in markdown) */
.page-content tbody td strong {
  color: var(--accent);
  font-weight: 700;
}

/* Heartbeat status dot */
.hb-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 2px;
}
.hb-live {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: hb-pulse 2s ease-in-out infinite;
}
.hb-idle {
  background: #ffb01a;
  box-shadow: 0 0 4px rgba(255, 176, 26, 0.4);
}
.hb-off {
  background: #666;
}
@keyframes hb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Pricing card cleanup — tighter grouping, better rhythm */
.pricing-card ul li {
  position: relative;
  padding-left: 4px;
}
.pricing-card ul li strong {
  color: var(--accent);
}
