/* fixmyaudio marketing site
   Dark, calm, product-quality. Mint accent on near-black slate.
   Type: Space Grotesk for headings (distinctive geometric), system stack for body. */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #0c0e12;
  --bg-elev: #14171d;
  --bg-card: #171b22;
  --line: #232833;
  --text: #e8ebf0;
  --text-dim: #9aa3b2;
  --text-faint: #6b7280;
  --accent: #34e0a1;
  --accent-dim: #1f8d66;
  --warn: #f5b955;
  --radius: 16px;
  --maxw: 1080px;
  --font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle radial glow top-left, no AI-slop gradient wash */
  background-image: radial-gradient(
    900px 500px at 15% -10%,
    rgba(52, 224, 161, 0.08),
    transparent 60%
  );
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
  color: var(--text);
}

/* ---------- header ---------- */
.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand.small .brand-mark {
  width: 22px;
  height: 22px;
}
.brand.small .brand-name {
  font-size: 16px;
}

.header-cta {
  font-size: 15px;
  color: var(--text-dim);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.15s, border-color 0.15s;
}
.header-cta:hover {
  color: var(--text);
  border-color: var(--accent-dim);
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 88px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 700;
}

h1 .accent {
  color: var(--accent);
}

.lede {
  margin: 24px 0 0;
  max-width: 30em;
  color: var(--text-dim);
  font-size: 18.5px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 34px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #06231a;
}
.btn-primary:not([disabled]):hover {
  transform: translateY(-1px);
}
.btn-primary[disabled] {
  cursor: not-allowed;
  background: #20392f;
  color: #7fd9b6;
  border-color: var(--accent-dim);
}

.badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(52, 224, 161, 0.18);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent-dim);
}

.fineprint {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-faint);
}

/* hero panel: a faux scan result card */
.hero-panel {
  display: flex;
  justify-content: center;
}

.scan-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.scan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(35, 40, 51, 0.6);
}
.scan-row strong {
  color: var(--text);
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.dot.ok {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(52, 224, 161, 0.12);
}
.dot.warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(245, 185, 85, 0.12);
}

.scan-action {
  margin-top: 16px;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}

/* ---------- generic section ---------- */
section.steps,
section.layers {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 42px);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 36em;
  margin: 16px auto 0;
}

/* ---------- steps ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.step h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}
.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* ---------- layers ---------- */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.layer {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
}
.layer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.7;
}
.layer-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.layer h3 {
  margin: 12px 0 8px;
  font-size: 21px;
}
.layer p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* ---------- AI section ---------- */
.ai {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  background-image: radial-gradient(
    700px 400px at 85% 120%,
    rgba(52, 224, 161, 0.07),
    transparent 60%
  );
}
.ai-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.ai h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-top: 12px;
}
.ai-copy {
  max-width: 40em;
  margin: 22px auto 0;
  color: var(--text-dim);
  font-size: 18px;
}

/* ---------- footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 56px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.copyright {
  margin: 0;
  color: var(--text-faint);
  font-size: 14px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
    gap: 40px;
  }
  .hero-panel {
    order: -1;
  }
  .step-grid,
  .layer-grid {
    grid-template-columns: 1fr;
  }
}

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

/* Legal pages (privacy) */
.legal {
  max-width: 720px;
  margin: 64px auto;
  padding: 0 24px;
  line-height: 1.7;
}
.legal h1 { margin-bottom: 4px; }
.legal a { color: var(--accent, #34e0a1); }
