﻿:root {
  --bg: #080d14;
  --panel: #111a27;
  --panel-2: #162235;
  --text: #f5f7fb;
  --muted: #9aa8ba;
  --line: rgba(255,255,255,.12);
  --blue: #5dd6ff;
  --green: #4ade80;
  --yellow: #facc15;
  --red: #fb7185;
  --purple: #a78bfa;
  --orange: #fb923c;
  --shadow: 0 24px 80px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif; background: radial-gradient(circle at top left, rgba(93,214,255,.16), transparent 34%), var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(20px, 5vw, 72px); background: rgba(8,13,20,.82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.02em; }
.brand-symbol { width: 44px; height: 44px; display: block; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 12px 30px rgba(93,214,255,.12); }
.brand-wordmark { display: inline-flex; align-items: baseline; gap: 6px; color: var(--text); font-weight: 950; letter-spacing: -.04em; white-space: nowrap; line-height: 1; }
.brand-title { font-size: 1.12rem; }
.brand-ai { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 4px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #06111c; font-size: .9rem; letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 700; }
.site-nav a:hover { color: var(--text); }
.nav-cta { color: #061018 !important; background: var(--blue); padding: 10px 14px; border-radius: 999px; }
.menu-button { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 10px; }
.hero { min-height: 86vh; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; padding: 72px clamp(20px, 7vw, 110px); }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: .95; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; }
h3 { font-size: 1.35rem; }
.hero-text { font-size: 1.2rem; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line); font-weight: 900; }
.button.primary { background: linear-gradient(135deg, var(--blue), var(--green)); color: #051018; border: 0; }
.button.secondary { background: rgba(255,255,255,.04); color: var(--text); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-strip span, .priority-rank { padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.07); color: #cbd5e1; font-weight: 800; font-size: .86rem; }
.command-card { background: linear-gradient(180deg, rgba(22,34,53,.96), rgba(17,26,39,.96)); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.card-header { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 900; margin-bottom: 18px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.status-dot.critical { background: var(--red); box-shadow: 0 0 22px var(--red); }
.command-card h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 20px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metrics-grid div { background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 16px; border-radius: 18px; }
.metrics-grid small { display: block; color: var(--muted); margin-bottom: 7px; }
.metrics-grid strong { font-size: 1.25rem; }
.evidence { margin-top: 20px; padding: 16px; border-radius: 16px; background: rgba(93,214,255,.08); color: #dbeafe; }
.section, .page-hero, .cta-section { padding: 78px clamp(20px, 7vw, 110px); }
.page-hero { padding-top: 110px; max-width: 1180px; }
.page-hero p { max-width: 880px; font-size: 1.16rem; }
.section-heading { max-width: 980px; margin-bottom: 34px; }
.problem-grid, .cards-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.problem-grid article, .cards-3 article, .compare-card, .quote-card, .contact-card { background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.decision-list { display: grid; gap: 12px; }
.decision-list div { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.045); font-weight: 850; }
.decision-list span { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: rgba(93,214,255,.15); color: var(--blue); }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.workflow-grid div { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); font-weight: 900; }
.workflow-grid small { display: block; margin-top: 8px; color: var(--muted); font-weight: 650; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
ul { color: var(--muted); line-height: 1.9; }
.highlight { border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.08); }
.muted { background: rgba(255,255,255,.03); }
.cta-section { margin: 42px clamp(20px, 7vw, 110px) 84px; border-radius: 30px; background: linear-gradient(135deg, rgba(93,214,255,.18), rgba(167,139,250,.15)); border: 1px solid var(--line); }
.cta-section p { max-width: 780px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline div { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.timeline span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #061018; font-weight: 950; margin-bottom: 18px; }
.check-list { padding-left: 0; list-style: none; }
.check-list li { margin: 8px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 950; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.contact-form { display: grid; gap: 14px; }
.form-status { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.06); color: var(--text); padding: 14px 16px; font: inherit; }
.legal h2 { margin-top: 28px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); background: rgba(0,0,0,.2); }
.site-footer div:last-child { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
@media (max-width: 980px) { .hero, .split, .compare-grid, .contact-grid { grid-template-columns: 1fr; } .problem-grid, .cards-3, .workflow-grid, .timeline { grid-template-columns: repeat(2,1fr); } h1 { font-size: clamp(2.6rem, 12vw, 4.6rem); } }
@media (max-width: 720px) { .site-nav { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; padding: 18px; background: #0b1220; border: 1px solid var(--line); border-radius: 18px; } .site-nav.open { display: flex; } .menu-button { display: block; } .problem-grid, .cards-3, .workflow-grid, .timeline, .metrics-grid { grid-template-columns: 1fr; } .site-footer { flex-direction: column; } .hero { padding-top: 52px; } }

/* MotorHealth AI official-site polish overrides.
   These keep the site bold, but remove the oversized first-draft feel. */
body {
  background:
    radial-gradient(circle at 10% 0%, rgba(93, 214, 255, .12), transparent 28%),
    radial-gradient(circle at 95% 10%, rgba(167, 139, 250, .08), transparent 25%),
    var(--bg);
}

.site-header { padding: 16px clamp(22px, 5vw, 88px); }
.brand { font-size: 1.02rem; }
.site-nav { font-size: .94rem; }
.nav-cta { padding: 11px 18px; }

.hero {
  min-height: auto;
  padding: 86px clamp(22px, 7vw, 120px) 70px;
  gap: 58px;
  border-bottom: 1px solid var(--line);
}

h1 {
  font-size: clamp(2.9rem, 5.7vw, 5.7rem);
  line-height: .98;
  max-width: 920px;
}

.hero-text {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  max-width: 720px;
}

.command-card { max-width: 560px; justify-self: end; }
.command-card h2 { font-size: clamp(2rem, 3.2vw, 3.15rem); line-height: 1.05; }
.metrics-grid strong { font-size: 1.1rem; }

.section, .page-hero, .cta-section { padding: 72px clamp(22px, 7vw, 120px); }
.page-hero { padding-top: 82px; padding-bottom: 50px; }
.page-hero h1 { font-size: clamp(2.55rem, 4.7vw, 4.65rem); line-height: 1.02; max-width: 980px; }
.page-hero p { max-width: 760px; font-size: 1.08rem; }

h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.05; }
h3 { font-size: 1.22rem; line-height: 1.18; }

.problem-grid article,
.cards-3 article,
.compare-card,
.quote-card,
.contact-card { padding: 26px; }

.problem-grid article p,
.cards-3 article p,
.compare-card li,
.contact-card li,
.contact-card p { font-size: .98rem; }

.workflow-grid div { min-height: 132px; }
.contact-grid { align-items: start; }
.contact-grid h2, .contact-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
input, textarea { min-height: 52px; }
.contact-form textarea { min-height: 150px; }
.site-footer { padding-top: 28px; padding-bottom: 28px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .command-card { justify-self: stretch; max-width: none; }
}

@media (max-width: 720px) {
  .hero, .section, .page-hero, .cta-section { padding-left: 20px; padding-right: 20px; }
  h1, .page-hero h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .hero { padding-top: 48px; }
}

/* Final typography balance pass */
h1 { font-size: clamp(2.65rem, 4.8vw, 4.85rem); }
.page-hero h1 { font-size: clamp(2.35rem, 3.9vw, 3.95rem); }
.hero { padding-top: 74px; padding-bottom: 64px; }
.section, .page-hero, .cta-section { padding-top: 62px; padding-bottom: 62px; }
.hero-copy { max-width: 820px; }
@media (min-width: 1400px) { .hero { grid-template-columns: 1fr 520px; } }

input:-webkit-autofill, textarea:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 9999s ease-in-out 0s; }





/* Final resilient MotorHealth header logo: CSS-based so no broken image appears in public header. */
.brand-emblem { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; background: radial-gradient(circle at 30% 20%, rgba(93,214,255,.28), transparent 38%), #07111b; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 12px 30px rgba(93,214,255,.16); overflow: hidden; }
.brand-emblem::before { content: ""; position: absolute; inset: 8px; border: 2px solid transparent; border-top-color: var(--green); border-right-color: var(--blue); border-bottom-color: var(--purple); border-left-color: var(--green); border-radius: 50%; opacity: .95; }
.brand-emblem-text { position: relative; z-index: 2; color: #f8fbff; font-weight: 950; font-size: 1rem; letter-spacing: -.06em; }
.brand-pulse { position: absolute; z-index: 3; left: 7px; right: 7px; top: 21px; color: var(--blue); font-size: 1.1rem; font-weight: 950; transform: scaleX(1.65); opacity: .95; }
