/* PXL Interactive one-pager — see DESIGN.md. No external fonts or CDN. */
:root {
  --canvas: #0a0b0d;
  --surface-1: #12141a;
  --surface-2: #181b22;
  --hairline: #2a2e38;
  --ink: #f4f5f7;
  --muted: #a8adb7;
  --subtle: #6b7280;
  --accent: #01d1b6;
  --accent-2: #22c55e;
  --on-accent: #04130b;
  --grad: linear-gradient(90deg, #22c55e 0%, #01d1b6 100%);
  --warn: #fbbf24;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1080px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Demo banner (local only) */
.demo-bar {
  background: rgba(251, 191, 36, 0.1);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde7a3;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.4;
}
.demo-bar strong {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  background: rgba(251, 191, 36, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  margin-right: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 11, 13, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  background: #000;
}
.nav {
  display: none;
  gap: 18px;
  align-items: center;
}
.nav a { color: var(--muted); font-size: 14px; }
.nav a:hover { color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: var(--on-accent);
}
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 36px 0 48px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 420px 260px at 0% 0%, rgba(34, 197, 94, 0.16), rgba(1, 209, 182, 0.05) 45%, transparent 75%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.hero h1 {
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 650;
  max-width: 18ch;
  margin-bottom: 16px;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 38ch;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--subtle);
  font-size: 13px;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-row span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Sections */
section { padding: 56px 0; }
.section-head {
  margin-bottom: 28px;
  max-width: 40rem;
}
.section-head h2 {
  font-size: clamp(24px, 5vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); }

/* Problem */
.problem { background: var(--surface-1); border-block: 1px solid rgba(255,255,255,0.04); }
.problem-grid {
  display: grid;
  gap: 12px;
}
.problem-card {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.problem-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.problem-card p { color: var(--muted); font-size: 15px; }

/* Services */
.services-grid {
  display: grid;
  gap: 12px;
}
.service {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px;
}
.service-num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.service h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.service p { color: var(--muted); font-size: 15px; }

/* Offer */
.offer {
  background:
    radial-gradient(ellipse 500px 280px at 100% 0%, rgba(1, 209, 182, 0.12), transparent 60%),
    var(--canvas);
}
.offer-card {
  background: var(--surface-1);
  border: 1px solid rgba(1, 209, 182, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 24px 60px rgba(0,0,0,0.35);
}
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--grad);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.offer-card h2 {
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.offer-price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 6px;
}
.offer-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.offer-note { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.offer-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.offer-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}
.offer-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    linear-gradient(var(--canvas), var(--canvas)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 4px var(--canvas);
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.step {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  counter-increment: step;
}
.step::before {
  content: "Stap " counter(step);
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* Case / proof */
.trust-grid {
  display: grid;
  gap: 12px;
}
.trust-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px;
}
.trust-card h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.trust-card p { color: var(--muted); font-size: 15px; }
.muted-note { color: var(--subtle); font-weight: 400; }

@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item details { padding: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item details[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 15px;
}

/* CTA */
.cta {
  background: var(--surface-1);
  border-block: 1px solid rgba(255,255,255,0.04);
}
.cta-box {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: left;
}
.cta-box h2 {
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cta-box p { color: var(--muted); margin-bottom: 20px; max-width: 42ch; }
.cta-meta {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 13px;
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--subtle);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  gap: 18px;
}
.footer-brand {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.footer-links a { color: var(--muted); font-size: 13px; }

/* Hero side panel: desktop only */
.hero-side { display: none; }

/* Narrow header: logo only, so the CTA stays on one row */
@media (max-width: 419px) {
  .brand span { display: none; }
  .site-header .btn { padding: 0 14px; }
}

/* Desktop */
@media (min-width: 720px) {
  :root { --pad: 28px; }
  .nav { display: flex; }
  .hero { padding: 64px 0 72px; }
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .offer-card { padding: 36px 40px; }
  .cta-box { padding: 40px; }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
  section { padding: 72px 0; }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .services-grid .service:nth-child(4),
  .services-grid .service:nth-child(5) {
    grid-column: span 1;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: end;
  }
  .hero-side {
    display: block;
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
  }
  .hero-side h2 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .hero-side ul {
    list-style: none;
    display: grid;
    gap: 10px;
  }
  .hero-side li {
    color: var(--muted);
    font-size: 14px;
    padding-left: 14px;
    position: relative;
  }
  .hero-side li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
}
