/* Harness Sourcing Kit — landing styles */
:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --surface-2: #243040;
  --border: #2e3d4f;
  --text: #e8eef4;
  --muted: #9aafc0;
  --accent: #3d9cf0;
  --accent-hover: #5aadf5;
  --accent-soft: rgba(61, 156, 240, 0.12);
  --ok: #3ecf8e;
  --warn: #e8b84a;
  --radius: 12px;
  --max: 720px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "SF Mono", "Consolas", "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.logo {
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover { text-decoration: none; color: var(--text); }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warn);
  background: rgba(232, 184, 74, 0.12);
  border: 1px solid rgba(232, 184, 74, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 38em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover { text-decoration: none; }

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

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

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

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

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.price-note strong { color: var(--text); }

section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

.audience {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .audience { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.card h3 { margin-top: 0; }

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.card li { margin: 0.35rem 0; }

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  display: flex;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.toc-list li:last-child { border-bottom: none; }

.toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.toc-list strong {
  color: var(--text);
  font-weight: 600;
}

.sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sample-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.65rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.sample pre {
  margin: 0;
  padding: 1rem 1.15rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #c5d4e0;
  overflow-x: auto;
  white-space: pre-wrap;
}

.sample .redact {
  background: var(--surface-2);
  color: transparent;
  border-radius: 3px;
  user-select: none;
  text-shadow: 0 0 8px rgba(154, 175, 192, 0.5);
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.benefits li:last-child { border-bottom: none; }

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ok);
}

.benefits li strong { color: var(--text); }

.cta-box {
  background: var(--accent-soft);
  border: 1px solid rgba(61, 156, 240, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cta-box h2 { margin-top: 0; }

.cta-box .howto {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.75rem 0 1.25rem;
}

.form-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(61, 156, 240, 0.25);
  font-size: 0.9rem;
  color: var(--muted);
}

.form-note code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--text);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--accent);
  font-weight: 700;
}

.faq details[open] summary::before { content: "−"; }

.faq details p {
  margin: 0.5rem 0 0.25rem 1.2em;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p { margin: 0 0 0.5rem; }

.disclaimer {
  font-size: 0.8rem;
  color: #6b8294;
  max-width: 42em;
}

/* Lead-magnet form */
.lead-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.lead-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.lead-form input,
.lead-form select {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(61, 156, 240, 0.45);
  outline-offset: 1px;
  border-color: var(--accent);
}

.lead-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lead-form button.btn {
  border: none;
}
