/* ===================================================================
   Friendly Helper — shared design system (Blue)
   Soft, approachable, calm. Trust-blue + coral on a cool off-white canvas.
   Tokens here are also consumed by fill-tool.css (loaded alongside).
   =================================================================== */
:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --ink:#13243b;        /* navy ink — headings & strong text */
  --muted:#566479;      /* body / secondary */
  --line:#e4eaf2;       /* hairlines & card borders */
  --blue:#2563eb;       /* primary action */
  --blue-d:#1d4ed8;     /* hover / links */
  --soft:#dbe8ff;       /* soft blue fills */
  --coral:#ff7a59;      /* warm CTA pop */
  --radius:22px;
  --radius-sm:14px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
  line-height:1.65;
  overflow-x:hidden;
}

/* Soft gradient mesh background blobs */
.bg-mesh{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;}
.bg-mesh i{position:absolute;border-radius:50%;filter:blur(70px);}
.bg-mesh i:nth-child(1){width:520px;height:520px;background:#cfe0ff;opacity:.6;top:-180px;right:-120px;}
.bg-mesh i:nth-child(2){width:420px;height:420px;background:#ffe0d4;opacity:.45;bottom:-160px;left:-140px;}

/* ===== Header ===== */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  max-width:1080px;margin:0 auto;padding:22px 26px;
}
.site-header .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:800;font-size:20px;}
.site-header .brand .brand-mark{
  width:36px;height:36px;border-radius:12px;background:var(--blue);color:#fff;
  display:grid;place-items:center;font-size:20px;
  box-shadow:0 8px 18px -6px rgba(37,99,235,.55);
}
/* fallback for the old bare-link header */
.site-header > a:only-child{text-decoration:none;color:var(--ink);font-weight:800;font-size:20px;}
.site-nav{display:flex;gap:6px;align-items:center;}
.site-nav a{color:var(--muted);text-decoration:none;font-size:14px;font-weight:500;padding:9px 14px;border-radius:12px;}
.site-nav a:hover{color:var(--ink);background:#fff;}
.site-nav a.pill{background:var(--ink);color:#fff;}
.site-nav a.pill:hover{background:var(--blue-d);}

/* ===== Main / hero ===== */
.site-main{max-width:1080px;margin:0 auto;padding:32px 26px;}
.site-main:has(.pft-panel-fill.active){max-width:1480px;}

.site-hero{text-align:center;padding:30px 0 8px;}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);
  padding:7px 16px;border-radius:999px;font-size:13px;font-weight:600;color:var(--blue-d);
  box-shadow:0 6px 16px -10px rgba(0,0,0,.3);margin-bottom:20px;
}
.site-main h1{
  font-size:clamp(36px,6vw,60px);line-height:1.05;letter-spacing:-.025em;font-weight:800;
  margin:0 auto 16px;max-width:16ch;
}
.site-hero > p{font-size:19px;color:var(--muted);max-width:34em;margin:0 auto 4px;}

/* The live fill tool sits in the hero; give it room to breathe */
.pdf-fill-tool{margin-top:30px;}

/* ===== Content (SEO prose) ===== */
.site-content{max-width:760px;margin:56px auto 0;}
.site-content h2{font-size:28px;letter-spacing:-.02em;font-weight:800;margin:40px 0 10px;}
.site-content h2:first-child{margin-top:0;}
.site-content p{color:var(--muted);font-size:16.5px;margin:0 0 14px;}

/* ===== FAQ accordion ===== */
.site-faq{max-width:760px;margin:8px auto 0;}
.site-faq details{
  background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:12px;padding:0 22px;
}
.site-faq summary{
  font-weight:700;font-size:17px;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;color:var(--ink);
}
.site-faq summary::-webkit-details-marker{display:none;}
.site-faq summary::after{
  content:"+";flex:none;width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--blue-d);
  display:grid;place-items:center;font-size:17px;font-weight:700;line-height:1;
}
.site-faq details[open] summary::after{content:"\2013";}
.site-faq p{color:var(--muted);margin:0 0 18px;font-size:15.5px;}

/* legacy <dl> FAQ fallback (if a page still uses dt/dd) */
.site-faq dt{font-weight:700;margin-top:16px;color:var(--ink);}
.site-faq dd{margin:4px 0 0;color:var(--muted);}

/* ===== CTA band ===== */
.site-cta{
  max-width:1080px;margin:72px auto 0;background:var(--ink);color:#fff;
  border-radius:var(--radius);padding:48px;text-align:center;
}
.site-cta h2{font-size:30px;margin:0 0 10px;letter-spacing:-.02em;}
.site-cta p{color:#aebdd4;margin:0 0 24px;}
.btn-cta{
  display:inline-block;background:var(--coral);color:#fff;text-decoration:none;font-weight:700;font-size:16px;
  padding:16px 30px;border-radius:16px;box-shadow:0 14px 30px -10px rgba(255,122,89,.6);
  transition:transform .15s;
}
.btn-cta:hover{transform:translateY(-3px);}

/* ===== Footer ===== */
.site-footer{
  max-width:1080px;margin:40px auto 0;padding:40px 26px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  color:var(--muted);font-size:14px;border-top:1px solid var(--line);
}
.site-footer a{color:var(--blue-d);text-decoration:none;font-weight:600;}
.site-footer div:last-child a{margin-right:18px;}
.site-footer a:hover{text-decoration:underline;}

/* ===== Comparison table ===== */
.compare-table{
  max-width:760px;margin:32px auto;border-collapse:separate;border-spacing:0;
  width:100%;font-size:15px;border:1px solid var(--line);border-radius:var(--radius-sm);
  overflow:hidden;
}
.compare-table th,.compare-table td{
  padding:12px 16px;text-align:left;
  border-bottom:1px solid var(--line);border-right:1px solid var(--line);
}
.compare-table th:last-child,.compare-table td:last-child{border-right:none;}
.compare-table tbody tr:last-child td{border-bottom:none;}
.compare-table thead th{
  background:var(--ink);color:#fff;font-weight:700;letter-spacing:-.01em;
  border-bottom:2px solid var(--blue);
}
.compare-table thead th:first-child{border-radius:var(--radius-sm) 0 0 0;}
.compare-table thead th:last-child{border-radius:0 var(--radius-sm) 0 0;}
.compare-table tbody tr:nth-child(even){background:#f8fafd;}
.compare-table tbody tr:hover{background:var(--soft);}
.compare-table td:first-child{font-weight:600;color:var(--ink);background:#fafbfd;}
.compare-table .yes{color:#16a34a;font-weight:600;}
.compare-table .no{color:#dc2626;font-weight:600;}
.compare-table .partial{color:#d97706;font-weight:600;}

@media(max-width:600px){
  .site-nav a:not(.pill){display:none;}
  .site-cta{padding:36px 24px;}
  .compare-table{font-size:13px;}
  .compare-table th,.compare-table td{padding:8px 10px;}
}
