/* Spark Foundry site.
   Look follows the reference landing page (Tailwind classes hand-converted below)
   and its light-mode colour variables. No Tailwind, no external fonts. */
:root {
  --background: #ffffff;
  --foreground: #111827;
  --primary: #10B981;
  --primary-hover: #059669;
  --secondary: #F9FAFB;
  --muted-foreground: #6B7280;
  --border: #E5E7EB;
  --radius: 0.5rem;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--foreground);
  /* bg-gradient-to-b from-slate-50 to-white */
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary-hover); }
a:hover { color: var(--foreground); }
svg { flex-shrink: 0; }

/* max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 */
.container { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Draft banner: delete the banner line from a page, or add display:none here, to remove */
.draft-banner {
  background: #FEF3C7; color: #92400E; border-bottom: 1px solid #FCD34D;
  text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.35rem 1rem;
}

/* Header: border-b bg-white/80 backdrop-blur, h-16, brand left, button right */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; height: 4rem; align-items: center; justify-content: space-between; }
.brand-wrap { display: flex; align-items: center; gap: 0.5rem; }
/* Text wordmark in the logo's slot: h-10 (40px) tall, black like the logo */
.brand {
  display: inline-flex; align-items: center; height: 2.5rem;
  font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1;
  color: var(--foreground); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-link { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--muted-foreground); text-decoration: none; }
.header-link:hover { color: var(--foreground); }

/* Buttons: rounded-lg, font-medium, primary filled / bordered */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-weight: 500; text-decoration: none;
  border: 1px solid transparent; transition: background-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: rgba(16, 185, 129, 0.9); color: #fff; }
.btn-outline { border-color: var(--border); color: var(--foreground); background: transparent; }
.btn-outline:hover { background: var(--secondary); color: var(--foreground); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; line-height: 1.25rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; line-height: 1.5rem; }
.btn-sm .arrow { width: 1rem; height: 1rem; margin-left: 0.5rem; }
.btn-lg .arrow { width: 1.25rem; height: 1.25rem; margin-left: 0.5rem; }
.btn-row { margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Landing: py-20, centred hero */
.landing { padding-top: 5rem; padding-bottom: 5rem; }
.hero { text-align: center; }
.hero h1 { margin: 0; font-size: 3rem; line-height: 1; font-weight: 700; letter-spacing: -0.025em; color: var(--foreground); }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .accent { color: var(--primary); }
.hero .lead { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted-foreground); }

/* Feature cards: mt-32 grid gap-8 sm:grid-cols-3, rounded-xl border bg-white p-8 */
.features { margin-top: 8rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature, .card {
  border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; padding: 2rem;
}
.feature h3, .card h3 { margin: 1rem 0 0; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.card > h3:first-child { margin-top: 0; }
.feature p, .card p { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.icon { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: var(--radius); }
.icon svg { width: 1.5rem; height: 1.5rem; }
.icon-indigo { background: #E0E7FF; color: #4F46E5; }
.icon-emerald { background: #D1FAE5; color: #059669; }
.icon-amber { background: #FEF3C7; color: #D97706; }
.icon-sky { background: #E0F2FE; color: #0284C7; }

/* Sections below the cards: same container, py-20 rhythm, card language */
section { padding: 0 0 5rem; scroll-margin-top: 5rem; }
section > .container { max-width: 80rem; }
h2 { margin: 0 0 0.5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -0.025em; }
.section-intro { margin: 0 0 2rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted-foreground); }

/* Prose sections on the home page become a single white card */
section .narrow {
  max-width: 56rem; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; padding: 2rem;
}
section .narrow p, section .narrow li { color: #374151; }
@media (max-width: 639px) {
  section .narrow { margin: 0 1rem; padding: 1.5rem; }
  .card { padding: 1.5rem; }
}

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius);
  background: #D1FAE5; color: #059669; font-weight: 700; font-size: 1.1rem;
}
.steps li.card h3 { margin-top: 1rem; }

.callout {
  border-left: 4px solid var(--primary); background: var(--secondary);
  padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.callout p { margin: 0.25rem 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.7rem; position: relative; margin: 0.55rem 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.3rem;
  width: 0.55rem; height: 0.9rem; border: solid var(--primary);
  border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* Policy and pricing pages: one white card on the gradient, py-20 */
main > .doc {
  max-width: 56rem; margin: 5rem auto;
  border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; padding: 3rem;
}
.doc h1 { margin: 0 0 0.3rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; letter-spacing: -0.025em; }
.doc .meta { margin: 0.75rem 0 2rem; font-size: 1rem; color: var(--muted-foreground); }
.doc h2 { margin: 2.2rem 0 0.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: 0; }
.doc p, .doc li { color: #374151; line-height: 1.65; }
.doc ul { padding-left: 1.3rem; }
.doc ul.check-list { padding-left: 0; }
@media (max-width: 639px) {
  main > .doc { margin: 2.5rem 1rem; padding: 1.5rem; }
  .doc h1 { font-size: 1.85rem; line-height: 2.2rem; }
}

.contact-block { font-style: normal; line-height: 1.8; font-size: 0.95rem; }
.contact-block strong { display: block; }

/* Footer: border-t py-8, centred column, text-sm muted */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); text-align: center; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; font-size: 0.75rem; line-height: 1rem; }
.site-footer a { color: var(--muted-foreground); text-decoration: none; }
.site-footer a:hover { color: var(--foreground); text-decoration: underline; }
