/* freeformbuilders.com — bright, fresh, minimal emerald */

:root {
  --bg: #ffffff;
  --bg-soft: #f0fdf4;
  --surface: #ffffff;
  --surface-2: #f8fffb;
  --border: #d1fae5;
  --border-strong: #a7f3d0;
  --text: #14532d;
  --text-body: #1f2937;
  --muted: #6b7280;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-deep: #047857;
  --emerald-light: #d1fae5;
  --emerald-pale: #ecfdf5;
  --mint: #6ee7b7;
  --pros-bg: #ecfdf5;
  --pros-border: #a7f3d0;
  --cons-bg: #fef2f2;
  --cons-border: #fecaca;
  --shadow-sm: 0 2px 8px rgba(16, 185, 129, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 185, 129, 0.12);
  --shadow-lg: 0 16px 40px rgba(16, 185, 129, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --content-max: 72rem;
  --font: "Figtree", 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);
  -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.02em;
}

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(--emerald-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(5, 150, 105, 0.35);
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover { color: var(--emerald-deep); text-decoration-color: var(--emerald-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(--emerald-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: 4px;
  z-index: 110; background: var(--emerald-pale); pointer-events: none;
}
.scroll-progress__bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--mint) 100%);
  transition: width 0.08s linear;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 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(280px, 72vw); }

.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  font-size: 0.9rem; 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(--emerald-dark); background: var(--emerald-pale); }
.nav-links a.nav-active { color: var(--emerald-dark); background: var(--emerald-light); }

.site-footer {
  margin-top: 4rem;
  background: var(--bg-soft);
  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(--emerald-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(--emerald-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); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--emerald-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(--emerald); 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(--emerald-deep); }
.cons h4 { color: #b91c1c; }
.pros ul, .cons ul { margin: 0; padding-left: 1.2rem; }
.pros li, .cons li { margin-bottom: 0.35rem; }
