/* De publieke site van CableCAD: de homepagina en de juridische pagina's. Los van de app. */
:root {
  --text: #1c2530;
  --muted: #5b6b80;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e8f0fe;
  --border: #dbe2ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 5vw, 56px); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.logo svg { width: 22px; height: 22px; fill: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 28px); flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav a.button { color: #fff; }

.button {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: background 0.15s;
}
.button:hover { background: var(--accent-dark); }
.button.ghost { background: transparent; color: var(--accent); }
.button.ghost:hover { background: var(--accent-soft); }
.button.large { padding: 14px 24px; font-size: 17px; }

main > section { padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 56px); }
h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 28px; text-align: center; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.fine { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1280px; margin: 0 auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shot, .wide-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14); background: #fff; }
.wide-shot { max-width: 1100px; margin: 56px auto 0; }

.features { background: var(--bg-soft); }
.workflow .lead { max-width: 760px; margin: -12px auto 32px; }
.workflow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.workflow-grid article { border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: #fff; }
.workflow-grid article:first-child { border: 2px solid var(--accent); box-shadow: 0 18px 44px rgba(37, 99, 235, 0.12); }
.workflow-tag { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.workflow-grid h3 { margin: 0 0 12px; }
.workflow-grid ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; display: grid; gap: 8px; }
.workflow .fine { margin-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.grid article { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.grid p { margin: 0; color: var(--muted); font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: #fff; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 18px 44px rgba(37, 99, 235, 0.16); }
.plan ul { padding-left: 20px; margin: 16px 0 24px; flex: 1; color: var(--muted); font-size: 16px; }
.plan li { margin-bottom: 6px; }
.price { margin: 4px 0 0; color: var(--muted); }
.price small { font-size: 12px; margin-left: 2px; }
.price span { font-size: 36px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.badge { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.badge.muted { background: var(--bg-soft); color: var(--muted); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.closing { text-align: center; background: var(--accent-soft); }

.site-footer { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding: 28px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* de juridische pagina's */
.document { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.document h1 { font-size: 34px; }
.document h2 { text-align: left; font-size: 22px; margin: 32px 0 10px; }
.document .draft { background: #fff7e6; border: 1px solid #f5c26b; border-radius: 8px; padding: 12px 16px; font-size: 15px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .site-header nav a:not(.button) { display: none; }
  .site-header nav a[href="/app/"] { display: inline; }
}
