:root {
  --bg: #0b0f17;
  --bg-soft: #111725;
  --card: #141b2b;
  --line: #233045;
  --text: #e7edf5;
  --muted: #9aa7bd;
  --brand: #3b82f6;
  --brand-soft: #1d4ed8;
  --danger: #ef4444;
  --ok: #22c55e;
  --warn: #f59e0b;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  display: grid; place-items: center;
  font-size: 16px;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 680px) {
  .nav-links { display: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .05s ease, background .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-soft); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(59,130,246,0.18), transparent 60%),
    var(--bg);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Sensor pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  color: var(--text);
}
.pill span { color: var(--muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step .num {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; }
.step p { color: var(--muted); margin: 0; }

/* Disclaimer banner */
.disclaimer {
  background: linear-gradient(180deg, rgba(245,158,11,0.08), rgba(245,158,11,0.03));
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.disclaimer h3 {
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 10px;
  color: var(--warn);
}
.disclaimer p { margin: 0 0 10px; color: var(--text); }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer strong { color: #fff; }

/* CTA strip */
.cta-strip {
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 120%, rgba(59,130,246,0.18), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 56px 28px;
}
.cta-strip h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.cta-strip p { color: var(--muted); margin: 0 0 26px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: 2.2rem; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 36px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand); }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); }
