/* Dealership Ultimate marketing site. Plain CSS, no build step. */

:root {
  --ink: #16131f;
  --ink-2: #221d30;
  --paper: #f7f6fb;
  --surface: #ffffff;
  --text: #1d1a28;
  --muted: #5e5a70;
  --line: #e4e0ee;
  --brand: #7c3aed;
  --brand-deep: #5b21b6;
  --brand-soft: #efe8fd;
  --amber: #f5b700;
  --on-dark: #f3f0fa;
  --on-dark-muted: #b7b0cc;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(22, 19, 31, 0.45);
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-deep);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
}

h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.kicker-light {
  color: var(--amber);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 20px;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover {
  background: var(--brand-deep);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible,
.btn-ghost:focus-visible,
summary:focus-visible,
.nav a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.btn-small {
  padding: 8px 14px;
  font-size: 0.95rem;
}
.btn-big {
  padding: 16px 26px;
  font-size: 1.08rem;
}
.btn-block {
  width: 100%;
}
.btn-light {
  background: #fff;
  color: var(--brand-deep);
}
.btn-light:hover {
  background: var(--brand-soft);
}
.btn-ghost {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 16px 6px;
}
.btn-ghost::after {
  content: ' ↓';
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 19, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo b {
  font-weight: 800;
  color: #c4a8ff;
}
.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav nav a:not(.btn) {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav nav a:not(.btn):hover {
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--on-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(245, 183, 0, 0.1), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 span {
  color: #c4a8ff;
}
.lead {
  font-size: 1.2rem;
  color: var(--on-dark-muted);
  margin: 22px 0 30px;
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.fine {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 14px 0 0;
}
.hero .fine {
  color: var(--on-dark-muted);
}
.hero-shots {
  position: relative;
  padding-bottom: 40px;
}
.browser {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #2b2540;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1600px) rotateY(-6deg);
  transform-origin: left center;
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.phone {
  margin: 0;
  width: 220px;
  border-radius: 30px;
  padding: 8px;
  background: #0d0b14;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone img {
  border-radius: 23px;
}
.phone-hero {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 190px;
}

/* ---------- Proof strip ---------- */

.proof {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.proof-list {
  list-style: none;
  margin: 0 auto;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proof-list li {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--brand);
  padding-left: 14px;
}
.proof-list strong {
  font-size: 1rem;
}
.proof-list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ---------- Section heads ---------- */

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head p:not(.kicker) {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 16px 0 0;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Features ---------- */

.features {
  padding: 96px 0 40px;
}
.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.feature-flip .feature-text {
  order: 2;
}
.feature h3 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px -22px rgba(22, 19, 31, 0.35), 0 0 0 1px var(--line);
  background: var(--surface);
}
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.phone-offset {
  margin-top: 56px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checks li {
  position: relative;
  padding: 7px 0 7px 32px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237c3aed' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

/* ---------- Payments ---------- */

.payments {
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(124, 58, 237, 0.3), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 96px 0;
  margin-top: 56px;
}
.payments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.payments h2 span {
  color: #c4a8ff;
}
.payments-copy > p {
  color: var(--on-dark-muted);
  font-size: 1.1rem;
  margin: 18px 0 20px;
}
.checks-light li {
  color: var(--on-dark-muted);
}
.checks-light strong {
  color: var(--on-dark);
}
.checks-light li::before {
  background-color: rgba(196, 168, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23c4a8ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.payments-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 10px 10px 0;
  color: var(--on-dark);
  font-size: 0.98rem;
}
.payments-shots {
  position: relative;
  min-height: 560px;
}
.phone-pay {
  position: relative;
  z-index: 2;
  width: 250px;
  margin-left: auto;
  margin-right: 30px;
}
.card-shot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
}

/* ---------- Tiles ---------- */

.more {
  padding: 96px 0;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.tile h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tile p {
  margin: 0;
  color: var(--muted);
}
.tile-soon {
  border-style: dashed;
  border-color: #c9b8f3;
  background: #fbf9ff;
}
.tile-soon h3 {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
}
.tile-soon em {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
  background: var(--amber);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Security ---------- */

.security {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 88px 0;
}
.security-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.security-grid > div p:not(.kicker) {
  color: var(--muted);
  font-size: 1.1rem;
}
.security-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.security-list li {
  border-top: 3px solid var(--brand);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.security-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */

.pricing {
  padding: 96px 0;
}
.price-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(91, 33, 182, 0.45), 0 0 0 1px var(--line);
}
.price-top {
  background: var(--ink);
  color: var(--on-dark);
  padding: 40px;
  text-align: center;
}
.price {
  font-family: var(--display);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}
.price .dollar {
  font-size: 2.6rem;
  vertical-align: top;
  position: relative;
  top: 14px;
  margin-right: 2px;
}
.price .per {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.price-sub {
  color: var(--on-dark-muted);
  margin: 4px 0 26px;
}
.price-top .fine {
  color: var(--on-dark-muted);
}
.price-list {
  padding: 36px 40px;
}
.fee-note {
  max-width: 880px;
  margin: 26px auto 0;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.fee-note h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fee-note p {
  margin: 0;
  color: #3b3550;
}
.addon-note {
  background: var(--surface);
  border: 2px solid var(--brand);
}
.addon-note h3 span {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: none;
  background: var(--amber);
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 40px 0 96px;
}
.faq-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 12px;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* ---------- CTA & footer ---------- */

.cta {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}
.cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 14px auto 30px;
  max-width: 34em;
}

.footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: 44px 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  align-items: start;
}
.byline {
  margin: 6px 0 0 42px;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-links a {
  color: var(--on-dark-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .feature,
  .payments-grid,
  .security-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-flip .feature-text {
    order: 0;
  }
  .browser {
    transform: none;
  }
  .proof-list {
    grid-template-columns: 1fr 1fr;
  }
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .payments-shots {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .phone-pay {
    margin: 0 auto;
  }
  .card-shot {
    position: static;
    width: 100%;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 18px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a:not(.btn) {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav nav .btn {
    margin-top: 12px;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .phone-hero {
    width: 120px;
    right: -6px;
  }
  .proof-list,
  .tiles,
  .security-list,
  .price-card {
    grid-template-columns: 1fr;
  }
  .phones .phone {
    width: 46%;
  }
  .phone-offset {
    margin-top: 32px;
  }
  .price-top,
  .price-list {
    padding: 30px 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .features,
  .more,
  .pricing,
  .payments {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
