/* Spark Digital — shared visual system
   Palette: ink charcoal, spark orange, warm paper, soft stone
   Distinctive but calm enough for small-business trust */

:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --line: #e7e5e4;
  --paper: #fafaf9;
  --paper-warm: #f5f0e8;
  --white: #ffffff;
  --spark: #ea580c;
  --spark-dark: #c2410c;
  --spark-soft: #ffedd5;
  --teal: #0f766e;
  --teal-soft: #ccfbf1;
  --ok: #15803d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --shadow-sm: 0 4px 14px rgba(28, 25, 23, 0.06);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--spark-dark); text-decoration-thickness: 1.5px; }
a:hover { color: var(--spark); }

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 750; letter-spacing: -0.02em; color: var(--ink);
  text-decoration: none; font-size: 1.1rem;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--spark), #f59e0b);
  display: grid; place-items: center; color: white; font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}
.nav-links { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--spark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.2rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--spark); color: white;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
}
.btn-primary:hover { background: var(--spark-dark); color: white; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark {
  background: var(--ink); color: white;
}
.btn-dark:hover { background: #292524; color: white; }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(234, 88, 12, 0.14), transparent 60%),
    radial-gradient(700px 360px at 10% 0%, rgba(15, 118, 110, 0.1), transparent 55%),
    var(--paper);
}
.hero-grid {
  display: grid; gap: 2.2rem; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--spark-soft); color: var(--spark-dark);
  padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.03em;
}
.hero .lead {
  font-size: 1.12rem; color: var(--ink-soft); max-width: 36rem; margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hero-note { font-size: 0.88rem; color: var(--muted); margin: 0; }

.card-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  overflow: hidden;
}
.card-preview .preview-top {
  display: flex; gap: 0.35rem; margin-bottom: 1rem;
}
.card-preview .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--line);
}
.card-preview .dot:nth-child(1) { background: #f87171; }
.card-preview .dot:nth-child(2) { background: #fbbf24; }
.card-preview .dot:nth-child(3) { background: #34d399; }
.preview-body { display: grid; gap: 0.75rem; }
.skeleton {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #f5f5f4, #e7e5e4, #f5f5f4);
  background-size: 200% 100%;
}
.skeleton.lg { height: 48px; }
.skeleton.md { height: 18px; width: 70%; }
.skeleton.sm { height: 10px; width: 45%; }
.preview-chip {
  display: inline-flex; padding: 0.4rem 0.7rem; border-radius: 8px;
  background: var(--teal-soft); color: var(--teal); font-size: 0.8rem; font-weight: 650;
}

/* Sections */
section { padding: 3.5rem 0; }
.section-head { max-width: 38rem; margin-bottom: 2rem; }
.section-head h2 {
  margin: 0 0 0.6rem; font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em; line-height: 1.2;
}
.section-head p { margin: 0; color: var(--ink-soft); }

.problem {
  background: var(--paper-warm);
  border-block: 1px solid var(--line);
}
.problem-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.problem-card, .feature-card, .faq-item, .price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.problem-card h3, .feature-card h3 {
  margin: 0 0 0.45rem; font-size: 1.05rem; letter-spacing: -0.01em;
}
.problem-card p, .feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.icon-badge {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 0.85rem;
  background: var(--spark-soft); color: var(--spark-dark); font-size: 1.1rem;
}
.icon-badge.teal { background: var(--teal-soft); color: var(--teal); }

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

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--paper), #fff7ed 55%, var(--paper)); }
.pricing-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr); align-items: stretch;
}
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured {
  border-color: var(--spark);
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.12);
  transform: translateY(-4px);
}
.price-card .badge {
  position: absolute; top: -10px; right: 1rem;
  background: var(--spark); color: white;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.price-card .tier { color: var(--muted); font-size: 0.85rem; font-weight: 650; margin: 0 0 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.price-card .amount {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 0.25rem;
}
.price-card .amount span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.price-card .blurb { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 1rem; }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1;
}
.price-card li {
  padding: 0.35rem 0 0.35rem 1.4rem; position: relative;
  font-size: 0.92rem; color: var(--ink-soft);
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700;
}
.price-note {
  text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 1.25rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; max-width: 760px; }
.faq-item h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* CTA */
.cta {
  padding: 3rem 0 4rem;
}
.cta-box {
  background: var(--ink); color: white;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.25rem 1.75rem;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1.4fr auto; align-items: center;
  box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0 0 0.4rem; letter-spacing: -0.02em; font-size: 1.6rem; }
.cta-box p { margin: 0; color: #d6d3d1; }
.cta-box .btn-primary { background: var(--spark); }

/* Form stub */
.form-stub {
  display: grid; gap: 0.65rem; margin-top: 0.5rem;
}
.form-stub input, .form-stub textarea {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: var(--radius-sm);
  border: 1px solid #57534e; background: #292524; color: white;
  font: inherit;
}
.form-stub input::placeholder, .form-stub textarea::placeholder { color: #a8a29e; }
.form-hint { font-size: 0.8rem; color: #a8a29e; margin: 0; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--white);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-start;
}
.footer strong { display: block; margin-bottom: 0.25rem; }
.footer p, .footer small { color: var(--muted); margin: 0; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--spark); }

/* Holding portal extras */
.holding-hero { padding: 3rem 0 2rem; }
.holding-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding: 1rem 0 3rem;
}
.market-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.market-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.market-card .flag { font-size: 1.5rem; }
.market-card h3 { margin: 0; letter-spacing: -0.02em; }
.market-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.market-meta { font-size: 0.8rem; color: var(--muted); }
.market-card .btn { align-self: flex-start; margin-top: 0.25rem; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table.simple {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
table.simple th, table.simple td {
  text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line);
}
table.simple th { background: var(--paper-warm); font-weight: 700; }
table.simple tr:last-child td { border-bottom: none; }

@media (max-width: 860px) {
  .hero-grid, .cta-box { grid-template-columns: 1fr; }
  .problem-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
}
