/* ElectricDrivers.com: domain-for-sale page */

:root {
  --navy: #0b1220;
  --navy-2: #111b30;
  --navy-3: #1a2742;
  --accent: #22d3ee;
  --accent-dark: #06b6d4;
  --cyan: #38d6f5;
  --ink: #0f172a;
  --ink-muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --link: #0e7490;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--link); }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 10;
  padding: .5rem 1rem; background: var(--accent); color: var(--navy);
  font-weight: 700; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: inherit; font-weight: 700; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; }
.btn-small { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header + hero */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(56, 214, 245, .22), transparent 60%),
    radial-gradient(40rem 26rem at 5% 110%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  pointer-events: none;
}

.site-header { position: relative; padding: 1.25rem 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.01em;
}
.brand svg { width: 34px; height: 34px; color: var(--accent); }

.hero-body { position: relative; padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1.2rem; margin-bottom: 1.5rem;
  font-size: clamp(1rem, .9rem + .45vw, 1.3rem); font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px;
}
.eyebrow .bolt { font-size: 1.15em; line-height: 1; }
.hero h1 {
  font-size: clamp(2.1rem, 8.4vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.hero h1 .tld { color: var(--accent); }
.hero-lead {
  max-width: 42rem; margin-top: 1.25rem;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  color: rgba(255, 255, 255, .86);
}
.hero-pair {
  margin-top: .75rem;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  color: rgba(255, 255, 255, .86);
}
.hero-pair strong { font-weight: 800; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem;
  margin-top: 2.5rem; padding: 0; list-style: none;
  font-size: .95rem; color: rgba(255, 255, 255, .75);
}
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts svg { width: 1.1rem; height: 1.1rem; color: var(--accent); flex: none; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
/* Follows another white section: the previous section's bottom padding is gap enough. */
.section-flush-top { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; }
.section-head p { margin-top: .9rem; color: var(--ink-muted); }
.kicker {
  display: block; margin-bottom: .6rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--link);
}

/* Why this domain: 4 cards, 4 → 2 → 1 columns (never 3 + 1) */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.why-card {
  padding: 1.5rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.why-card .icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--navy); color: var(--accent);
}
.why-card .icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.15rem; font-weight: 800; }
.why-card p { margin-top: .5rem; font-size: 1rem; color: var(--ink-muted); }

/* Sector stats band */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.stat {
  padding: 1.75rem 1.5rem; border-radius: var(--radius);
  background: var(--navy); color: #fff;
}
.stat-value { display: block; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--accent); }
.stat-label { display: block; margin-top: .5rem; color: rgba(255, 255, 255, .82); text-wrap: balance; }

/* Manufacturers: 8 cards, 4 → 2 → 1 columns */
.maker-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem;
  margin: 0; padding: 0; list-style: none;
}
.maker-card {
  display: flex; flex-direction: column;
  padding: 1.5rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.maker-hq { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.maker-card h3 { margin-top: .35rem; font-size: 1.2rem; font-weight: 800; }
.maker-fact { margin-top: .9rem; font-size: 1rem; }
.maker-fact strong { color: var(--ink); }
.maker-models {
  margin-top: auto; padding-top: 1rem;
  font-size: .9rem; color: var(--ink-muted);
}
.maker-models span { font-weight: 700; color: var(--ink); }
.sources { margin-top: 2rem; font-size: .9rem; color: var(--ink-muted); }
.sources a { overflow-wrap: anywhere; }

/* Offer */
.offer-panel {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: calc(var(--radius) + 8px);
  color: #fff;
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(56, 214, 245, .2), transparent 60%),
    var(--navy);
}
.offer-panel h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; }
.offer-panel .lead { max-width: 44rem; margin-top: .9rem; color: rgba(255, 255, 255, .86); }
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
  margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: step;
}
.steps li {
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--navy-2); border: 1px solid var(--navy-3);
  counter-increment: step; font-size: 1rem; color: rgba(255, 255, 255, .86);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2rem; height: 2rem; margin-bottom: .75rem;
  border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800;
}
.steps strong { display: block; margin-bottom: .25rem; color: #fff; }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 2rem; }
.offer-address { font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.copy-status { font-size: .95rem; color: var(--accent); min-height: 1.5em; }
.offer-note { margin-top: 1.25rem; font-size: .95rem; color: rgba(255, 255, 255, .7); }

/* Footer */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-muted); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.site-footer p { max-width: 40rem; }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; }
.notfound .hero-body { flex: 1; }

/* Tablet */
@media (max-width: 1000px) {
  .why-grid, .maker-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Below 900px three stat numbers no longer fit side by side on one line each */
@media (max-width: 900px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* Phone */
@media (max-width: 620px) {
  .container { padding: 0 1rem; }
  .why-grid, .maker-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .site-header .btn { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

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