/* draganddropformbuilders.com — minimal indigo/violet, geometric grid */

:root {
  --bg: #fafafa;
  --bg-soft: #f4f4f8;
  --surface: #ffffff;
  --surface-2: #f8f7fc;
  --border: #e4e4ef;
  --border-strong: #c7c7dc;
  --text: #1e1b4b;
  --text-body: #374151;
  --muted: #6b7280;
  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --indigo-deep: #4338ca;
  --violet: #8b5cf6;
  --violet-light: #ede9fe;
  --indigo-pale: #eef2ff;
  --grid-line: rgba(99, 102, 241, 0.08);
  --pros-bg: #eef2ff;
  --pros-border: #c7d2fe;
  --cons-bg: #fef2f2;
  --cons-border: #fecaca;
  --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.07);
  --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.1);
  --shadow-lg: 0 16px 40px rgba(99, 102, 241, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --content-max: 72rem;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 1em; }

a {
  color: var(--indigo-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(79, 70, 229, 0.35);
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover { color: var(--indigo-deep); text-decoration-color: var(--indigo-deep); }

img, svg { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 16px; background: var(--indigo-dark); color: #fff;
  border-radius: var(--radius-pill); z-index: 1000; text-decoration: none;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 110; background: var(--indigo-pale); pointer-events: none;
}
.scroll-progress__bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--violet) 100%);
  transition: width 0.08s linear;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand-logo { height: 40px; width: auto; max-width: min(300px, 72vw); }

.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  font-size: 0.875rem; font-weight: 600;
}

.nav-links a {
  color: var(--muted); text-decoration: none;
  padding: 0.45rem 0.85rem; border-radius: var(--radius-pill);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--indigo-dark); background: var(--indigo-pale); }
.nav-links a.nav-active { color: var(--indigo-dark); background: var(--violet-light); }

.site-footer {
  margin-top: 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand { display: inline-flex; margin-bottom: 1rem; text-decoration: none; }
.footer-logo { height: 36px; width: auto; margin: 0 auto; }

.footer-util {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem;
  font-size: 0.875rem; margin-bottom: 1.25rem;
}
.footer-util a { color: var(--muted); text-decoration: none; }
.footer-util a:hover { color: var(--indigo-dark); }
.footer-util-sep { color: var(--border-strong); margin: 0 0.15rem; }

.footer-sisters { font-size: 0.8rem; color: var(--muted); line-height: 1.8; margin: 0 0 1rem; }
.footer-sisters-label { display: block; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.footer-sisters-links a { color: var(--muted); text-decoration: none; }
.footer-sisters-links a:hover { color: var(--indigo-dark); }
.footer-sisters-sep { color: var(--border-strong); }

.footer-copy { font-size: 0.8rem; color: var(--muted); margin: 0; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--indigo-pale); color: var(--text); font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem; font-weight: 600; cursor: pointer;
  color: var(--text); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--indigo); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.25rem 1rem; color: var(--text-body); }
.faq-answer p:last-child { margin-bottom: 0; }

.pros-cons { display: grid; gap: 1rem; margin: 1.25rem 0; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  font-size: 0.95rem;
}
.pros { background: var(--pros-bg); border: 1px solid var(--pros-border); }
.cons { background: var(--cons-bg); border: 1px solid var(--cons-border); }
.pros h4, .cons h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.pros h4 { color: var(--indigo-deep); }
.cons h4 { color: #b91c1c; }
.pros ul, .cons ul { margin: 0; padding-left: 1.2rem; }
.pros li, .cons li { margin-bottom: 0.35rem; }
