/* ClearAudit Co. — minimal mobile-friendly styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1a1c1e;
  --muted: #5c636a;
  --line: #e2ddd4;
  --accent: #2f5d50;
  --accent-hover: #244a40;
  --soft: #e8f0ec;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(26, 28, 30, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --max: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.95rem;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw + 1rem, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--soft);
  color: var(--accent);
}

.btn-secondary:hover {
  background: #d7e6df;
  color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--ink);
}

/* Products */
.products {
  padding: 1rem 0 3rem;
}

.products h2,
.store-band h2,
.contact h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.price {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
}

.card p:not(.price) {
  margin: 0 0 0.5rem;
  color: var(--muted);
  flex: 1;
}

.card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Store band */
.store-band {
  padding: 2rem 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.store-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.store-inner p {
  margin: 0;
  color: var(--muted);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .store-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Contact */
.contact {
  padding: 2.5rem 0;
}

.contact p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.fine {
  font-size: 0.85rem;
}

/* Footer + badge slot */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.badge-slot {
  min-height: 2rem;
  /* Empty slot reserved for future Fazier / directory badge embeds */
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.badge-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge-slot .badge {
  display: inline-block;
  line-height: 0;
}
.badge-slot .badge img {
  display: block;
  max-width: 200px;
  height: auto;
}
.card .btn-ghost {
  margin-top: 0.5rem;
}
.fine {
  font-size: 0.85rem;
  color: var(--muted);
}
