:root {
  --maroon: #8B0000;
  --maroon-deep: #6B0000;
  --gold: #B8860B;
  --ink: #18181B;
  --ink-soft: #3F3F46;
  --gray: #71717A;
  --gray-light: #A1A1AA;
  --line: #ECECEE;
  --line-soft: #F0F0F2;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F4F4F5;
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--maroon);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; line-height: 0.95;
}
.brand-mark .fc { font-family: Georgia, serif; font-size: 12px; font-weight: 700; }
.brand-mark .ai { font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: all 0.15s;
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link.active { color: var(--maroon); }
.caret { width: 12px; height: 12px; opacity: 0.5; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.16); padding: 7px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all 0.16s ease;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink-soft); transition: background 0.12s; }
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }
.dropdown a .d-sub { display: block; font-size: 12px; color: var(--gray-light); font-weight: 400; margin-top: 1px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 12px;
  cursor: pointer; border: none; transition: all 0.15s ease; white-space: nowrap;
}
.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 1px 2px rgba(139,0,0,0.15); }
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,0,0,0.18); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.btn-outline:hover { border-color: #DADADD; background: var(--surface-2); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 14px; }

/* Page header */
.page-head { padding: 76px 0 16px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--maroon);
  background: rgba(139,0,0,0.06); padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--maroon); }
.page-head h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; max-width: 760px; margin: 0 auto 18px; }
.page-head h1 .accent { color: var(--maroon); }
.page-head .lead { font-size: 19px; color: var(--gray); max-width: 600px; margin: 0 auto; }

.section-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); text-align: center; margin-bottom: 14px; }
.section-title { font-size: 36px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; text-align: center; max-width: 640px; margin: 0 auto 16px; }
.section-sub { font-size: 17px; color: var(--gray); text-align: center; max-width: 580px; margin: 0 auto 48px; }

.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* Cards / grids */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: all 0.2s ease; }
.feat:hover { border-color: #DADADD; box-shadow: 0 12px 28px -14px rgba(0,0,0,0.1); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(139,0,0,0.07); display: flex; align-items: center; justify-content: center; color: var(--maroon); margin-bottom: 18px; }
.feat h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--gray); line-height: 1.6; }

/* Video */
.video-wrap { max-width: 860px; margin: 0 auto; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden;
  background: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px -22px rgba(0,0,0,0.18);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a0000, var(--ink)); color: #fff; gap: 16px; text-align: center; padding: 24px;
}
.play-btn { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,0.3); }
.video-placeholder p { font-size: 14px; opacity: 0.7; max-width: 340px; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.stat .num { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; color: var(--maroon); margin-bottom: 6px; }
.stat .lbl { font-size: 13.5px; color: var(--gray); line-height: 1.45; }

/* Prose (About) */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 22px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 16px; }
.prose .lead-p { font-size: 19px; color: var(--ink); font-weight: 500; }

/* Timeline */
.timeline { max-width: 680px; margin: 0 auto; }
.tl-item { display: flex; gap: 24px; padding-bottom: 30px; position: relative; }
.tl-item:not(:last-child)::before { content: ''; position: absolute; left: 33px; top: 38px; bottom: -4px; width: 2px; background: var(--line); }
.tl-year { flex-shrink: 0; width: 68px; height: 68px; border-radius: 16px; background: var(--maroon); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; position: relative; z-index: 1; }
.tl-body { padding-top: 6px; }
.tl-body h3 { font-size: 18px; margin-bottom: 6px; }
.tl-body p { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* Awards */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.award { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.award .yrs { font-size: 13px; font-weight: 700; color: var(--maroon); margin-bottom: 6px; letter-spacing: 0.02em; }
.award p { font-size: 14px; color: var(--gray); }

/* Split rows (For Dealerships) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 28px 0; }
.split.reverse .split-text { order: 2; }
.split-text h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; }
.split-text p { font-size: 16px; color: var(--gray); line-height: 1.7; }
.split-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 14px 36px -20px rgba(0,0,0,0.1); }

/* Value band */
.value-card { background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%); border-radius: 28px; padding: 56px 48px; text-align: center; color: #fff; }
.value-card h2 { font-size: 32px; letter-spacing: -0.025em; line-height: 1.2; max-width: 640px; margin: 0 auto 18px; }
.value-card p { font-size: 17px; opacity: 0.92; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-card .ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(139,0,0,0.07); color: var(--maroon); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.contact-card h3 { font-size: 19px; margin-bottom: 8px; }
.contact-card p { font-size: 15px; color: var(--gray); margin-bottom: 16px; line-height: 1.6; }

/* App preview reuse */
.preview-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.12); overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.preview-bar .dots { display: flex; gap: 6px; }
.preview-bar .dots span { width: 11px; height: 11px; border-radius: 50%; background: #E4E4E7; }
.preview-bar .title { font-size: 13px; font-weight: 600; color: var(--gray); margin-left: 8px; }
.preview-body { padding: 22px; }
.msg { margin-bottom: 16px; display: flex; }
.msg.user { justify-content: flex-end; }
.bubble { max-width: 80%; padding: 12px 16px; font-size: 14px; line-height: 1.55; }
.bubble.user { background: var(--maroon); color: #fff; border-radius: 18px 18px 5px 18px; }
.bubble.ai { background: var(--surface-2); color: var(--ink-soft); border-radius: 18px 18px 18px 5px; }
.src-row { margin-top: 9px; display: flex; gap: 6px; flex-wrap: wrap; }
.src { font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--gray); padding: 3px 8px; border-radius: 7px; }

/* Sections spacing */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-lg { padding: 84px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 52px 0 40px; margin-top: 0; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.foot-brand { max-width: 280px; }
.foot-brand .sub { font-size: 13.5px; color: var(--gray); margin-top: 12px; }
.foot-fam h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 12px; font-weight: 700; }
.foot-fam a { display: block; margin-bottom: 7px; color: var(--gray); transition: color 0.15s; font-size: 13.5px; }
.foot-fam a:hover { color: var(--maroon); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--gray-light); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .page-head { padding: 48px 0 8px; }
  .page-head h1 { font-size: 30px; }
  .value-card { padding: 40px 26px; }
}
