:root {
  --ink: #111317;
  --ink-2: #1b1e24;
  --ink-3: #2a2e36;
  --paper: #f6f5f2;
  --white: #ffffff;
  --muted: #5d6470;
  --muted-dark: #a6adb8;
  --accent: #d6402b;
  --accent-2: #b8321f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 19, 23, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.accent { color: var(--accent); }

.btn { display: inline-block; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; padding: .85em 1.5em; border-radius: 999px; transition: background .2s, transform .2s; border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: .5em 1.1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17,19,23,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6em; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent); font-size: .95rem; letter-spacing: -.03em; }
.brand-text em { font-style: normal; font-weight: 400; color: var(--muted-dark); }
.nav { display: flex; align-items: center; gap: 1.8em; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted-dark); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 16px 20px; display: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-top: 16px; text-align: center; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; padding: 110px 0 150px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 20%, rgba(214,64,43,.35), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(214,64,43,.12), transparent 40%),
  repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.025) 60px 61px); }
.hero-inner { position: relative; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 800; max-width: 14ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted-dark); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.hero-road { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--paper); }

/* Logo hero */
.hero-logos { --silver: 200, 205, 212; padding: clamp(64px, 10vw, 120px) 0 clamp(100px, 13vw, 160px); }
.hero-logos .hero-bg { background:
  radial-gradient(circle at 85% 20%, rgba(var(--silver), .28), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(var(--silver), .12), transparent 40%),
  repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.03) 60px 61px); }
.hero .hero-title { position: relative; max-width: 1000px; margin: 0 auto clamp(28px, 5vw, 56px); text-align: center; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: clamp(1.15rem, 3.6vw, 2.4rem); line-height: 1.3;
  background: linear-gradient(180deg, #ffffff 0%, #c8cdd4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .hero-sub { position: relative; max-width: 1000px; margin: clamp(28px, 5vw, 52px) auto 0; text-align: center; font-weight: 500; font-size: clamp(1.05rem, 2.4vw, 1.5rem); letter-spacing: .01em; color: #c8cdd4; }
.mission { margin: 0 auto; max-width: 34em; text-align: center; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.logo-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 30px); max-width: 1200px; }
@media (max-width: 640px) { .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; } }
.logo-card { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: clamp(10px, 3vw, 36px); border-radius: clamp(10px, 2vw, 20px);
  background: linear-gradient(160deg, #ffffff 0%, #eef0f3 55%, #d9dde2 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 0 0 1px rgba(var(--silver), .35), 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 #fff;
  transition: transform .25s, box-shadow .25s; }
.logo-card:hover, .logo-card:focus-visible { transform: translateY(-6px); outline: none;
  box-shadow: 0 0 0 2px rgba(var(--silver), .9), 0 24px 50px rgba(0,0,0,.55), 0 0 40px rgba(var(--silver), .25), inset 0 1px 0 #fff; }
.logo-card { position: relative; --pad: clamp(10px, 3vw, 36px); }
.logo-card img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.logo-card.mazda img { top: calc(var(--pad) * 1.5); left: calc(var(--pad) * 1.5); width: calc(100% - 3 * var(--pad)); height: calc(100% - 3 * var(--pad)); }

/* We Buy Cars */
.buy { --curve: 70px; position: relative; z-index: 1; margin-top: calc(-1 * var(--curve));
  text-align: center; color: var(--white); padding: calc(clamp(32px, 6vw, 72px) + var(--curve)) 0 clamp(56px, 8vw, 96px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L0 70 Q720 0 1440 70 L1440 120 Z'/%3E%3C/svg%3E") top / 100% var(--curve) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--curve) + 1px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L0 70 Q720 0 1440 70 L1440 120 Z'/%3E%3C/svg%3E") top / 100% var(--curve) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--curve) + 1px) no-repeat;
  background: var(--white); }
.buy-title { margin: 0 0 clamp(16px, 3vw, 32px); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: .06em; color: var(--accent); }
.buy-img { display: block; width: 100%; max-width: 1200px; height: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 94%, transparent 100%);
          mask-composite: intersect; }

.buy-btn { margin-top: 2em; font-size: 1.1rem; padding: 1em 2.2em; box-shadow: 0 10px 24px rgba(214,64,43,.25); }

/* Sections */
.section { padding: 90px 0; }
.section-dark { background: var(--ink-2); color: var(--white); }
.section-dark p { color: var(--muted-dark); }
.section-accent { background: var(--accent); color: var(--white); }
.section-accent .eyebrow { color: rgba(255,255,255,.8); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 2.2em; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17,19,23,.12); }
.card svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(214,64,43,.1); stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1.1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; gap: 2px; padding: 18px 20px 18px 58px; position: relative; background: var(--ink-3); border-radius: 12px; }
.ticks li::before { content: "✓"; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.ticks span { color: var(--muted-dark); font-size: .95rem; }

.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 760px) { .about { grid-template-columns: 280px 1fr; } }
.about p { color: var(--muted); font-size: 1.08rem; max-width: 38em; }
.about-badge { aspect-ratio: 1; max-width: 280px; width: 100%; margin: 0 auto; border-radius: 28px; background: linear-gradient(145deg, var(--ink-2), var(--ink)); color: var(--white); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about-badge::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%; background: radial-gradient(ellipse at center, rgba(214,64,43,.5), transparent 70%); }
.about-badge span { font-size: 5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; position: relative; z-index: 1; }
.about-badge small { color: var(--muted-dark); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-top: .6em; position: relative; z-index: 1; }

.contact { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact p { color: rgba(255,255,255,.88); max-width: 32em; }
.contact-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.contact-list div { background: rgba(0,0,0,.14); border-radius: 12px; padding: 18px 20px; }
.contact-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.contact-list dd { margin: 4px 0 0; font-weight: 600; font-size: 1.05rem; }
.contact-list a { text-decoration: none; }

.site-footer { background: var(--ink); color: var(--muted-dark); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.logo-card.dn img { top: calc(var(--pad) * .45); left: calc(var(--pad) * .45); width: calc(100% - .9 * var(--pad)); height: calc(100% - .9 * var(--pad)); }
