/* WireCraft marketing site — static, deploy to wirecraft.app */

:root {
  --bg: #0b0f14;
  --surface: #151b24;
  --surface-high: #1c2430;
  --outline: #2a3444;
  --text: #f1f5f9;
  --muted: #8b9bb0;
  --cyan: #2dd4ff;
  --cyan-dim: #0891b2;
  --success: #34d399;
  --max: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.85);
  border-bottom: 1px solid var(--outline);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; border-radius: 10px; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  font-size: 0.95rem;
}

.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 212, 255, 0.12);
  color: var(--cyan);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary { background: var(--cyan); color: #0b0f14; }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--outline);
}

.phone-mock {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.phone-mock img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* Sections */
section { padding: 3rem 0; }

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

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

.card h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 72ch;
}

.legal h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal p, .legal li { color: #cbd5e1; margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.25rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--outline);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
