:root {
  --bg: #000000;
  --bg-elev: #111111;
  --fg: #ffffff;
  --fg-muted: #a3a3a3;
  --border: #2a2a2a;
  --radius: 4px;
  --max-width: 980px;
  --logo-filter: invert(1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-elev: #f4f4f4;
    --fg: #000000;
    --fg-muted: #5a5a5a;
    --border: #dcdcdc;
    --logo-filter: none;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  opacity: 0.65;
}

.site-header {
  border-bottom: 2px solid var(--fg);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  color: var(--fg-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--fg);
  opacity: 1;
}

.hero {
  padding: 88px 0 56px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 22ch;
  text-transform: uppercase;
}

.hero .lede {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0;
}

section {
  padding: 64px 0;
}

section:not(.hero) {
  border-top: 1px solid var(--border);
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

h2 {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

h2 .subheading {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--fg-muted);
  margin-top: 6px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 560px;
}

.card-featured {
  border: 2px solid var(--fg);
}

.product-logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  background: #0a0a0a;
  border-radius: var(--radius);
  padding: 24px 20px;
  margin: 0 0 24px;
}

.card p {
  color: var(--fg-muted);
  margin: 0 0 20px;
}

.button {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.button:hover {
  opacity: 0.8;
}

.button-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--fg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.service h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.about p,
.contact p {
  color: var(--fg-muted);
  max-width: 68ch;
}

.site-footer {
  border-top: 2px solid var(--fg);
  padding: 32px 0;
}

.site-footer p {
  color: var(--fg-muted);
  font-size: 0.8rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
}

/* QuoteHaul showcase — mirrors the QuoteHaul product site's own visual
   identity (dark navy, indigo accent). Palette is scoped to .qh-panel
   so it never leaks into the rest of the monochrome site. */
.quotehaul-showcase .wrap {
  max-width: 1100px;
}

.qh-panel {
  --qh-bg: #0a0e1a;
  --qh-card: #141a30;
  --qh-border: rgba(255, 255, 255, 0.08);
  --qh-text: #f5f6fa;
  --qh-text-muted: #9ca3b5;
  --qh-accent-a: #6a5cff;
  --qh-accent-b: #4f46e5;
  background: var(--qh-bg);
  border: 1px solid var(--qh-border);
  border-radius: 16px;
  padding: 56px 40px;
  color: var(--qh-text);
  text-align: center;
}

.qh-panel a {
  color: inherit;
  text-decoration: none;
}

.qh-topline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.qh-logo {
  height: 64px;
  width: auto;
}

.qh-byline {
  font-size: 0.85rem;
  color: var(--qh-text-muted);
}

.qh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(109, 94, 255, 0.15);
  color: #b9b3ff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.qh-headline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--qh-text);
  max-width: 20ch;
  margin: 0 auto 16px;
}

.qh-sub {
  color: var(--qh-text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto 32px;
}

.qh-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.qh-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.qh-btn-primary {
  background: linear-gradient(135deg, var(--qh-accent-a), var(--qh-accent-b));
  color: #ffffff;
}

.qh-btn-primary:hover {
  opacity: 0.88;
}

.qh-btn-secondary {
  background: var(--qh-card);
  border: 1px solid var(--qh-border);
  color: var(--qh-text);
}

.qh-btn-secondary:hover {
  opacity: 0.85;
}

.qh-btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.qh-disclaimer {
  color: var(--qh-text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.qh-divider {
  height: 1px;
  background: var(--qh-border);
  margin: 48px 0;
}

.qh-section-heading {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--qh-text);
  margin: 0 0 32px;
  text-align: center;
}

.qh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.qh-feature {
  background: var(--qh-card);
  border: 1px solid var(--qh-border);
  border-radius: 12px;
  padding: 22px;
}

.qh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(109, 94, 255, 0.15);
  color: #8b7cff;
  margin-bottom: 14px;
}

.qh-icon svg {
  width: 18px;
  height: 18px;
}

.qh-feature h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--qh-text);
  margin: 0 0 8px;
}

.qh-feature p {
  font-size: 0.85rem;
  color: var(--qh-text-muted);
  margin: 0;
  line-height: 1.5;
}

.qh-pricing-sub {
  color: var(--qh-text-muted);
  margin: 0 0 28px;
}

.qh-price-card {
  background: var(--qh-card);
  border: 1px solid var(--qh-border);
  border-radius: 14px;
  padding: 36px 32px;
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

.qh-price {
  text-align: center;
  margin-bottom: 6px;
}

.qh-price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--qh-text);
}

.qh-price-period {
  font-size: 1rem;
  color: var(--qh-text-muted);
}

.qh-price-note {
  text-align: center;
  color: var(--qh-text-muted);
  font-size: 0.82rem;
  margin: 0 0 24px;
}

.qh-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qh-price-list li {
  color: var(--qh-text);
  font-size: 0.9rem;
  padding-left: 26px;
  position: relative;
}

.qh-price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #3ddc84;
  font-weight: 700;
}

.qh-visit {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: var(--qh-text-muted) !important;
  font-size: 0.9rem;
  text-decoration: underline !important;
}

.qh-visit:hover {
  color: var(--qh-text) !important;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .site-header .wrap {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
    min-width: 0;
  }

  .site-header nav {
    width: 100%;
    min-width: 0;
    gap: 14px 18px;
    flex-wrap: wrap;
  }

  .site-header nav a {
    font-size: 0.78rem;
  }

  .brand-logo {
    height: 22px;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero .lede {
    font-size: 1rem;
  }

  section {
    padding: 44px 0;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .card {
    max-width: 100%;
    padding: 22px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .button {
    display: block;
    text-align: center;
  }

  .qh-panel {
    padding: 32px 20px;
    border-radius: 12px;
  }

  .qh-logo {
    height: 44px;
  }

  .qh-headline {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .qh-ctas {
    flex-direction: column;
  }

  .qh-btn {
    width: 100%;
    text-align: center;
  }

  .qh-grid {
    grid-template-columns: 1fr;
  }

  .qh-price-card {
    padding: 28px 20px;
  }

  .qh-section-heading {
    font-size: 1.2rem;
  }
}
