/* ===========================================================================
   Filix — SITE stylesheet: the home page and the CMS/blog page furniture.
   ---------------------------------------------------------------------------
   Loaded on every page EXCEPT a tool page. Tools bring their own .hero, .card,
   .btn, .grid and .pill, and mixing the two produced things like the site's
   decorative hero circles floating over a tool's own headline. Keeping these
   rules off tool pages entirely is simpler and safer than fighting specificity.
   =========================================================================== */
/* ---------------------------------------------------------------- hero --- */
.hero{background:linear-gradient(150deg,var(--navy) 0%,var(--navy2) 55%,#1d4f80 100%);color:#fff;
  padding:52px 20px 62px;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:-90px;top:-90px;width:340px;height:340px;border-radius:50%;
  background:rgba(212,160,23,.14)}
.hero::before{content:"";position:absolute;left:-70px;bottom:-140px;width:300px;height:300px;border-radius:50%;
  background:rgba(200,16,46,.16)}
.hin{max-width:1180px;margin:0 auto;position:relative;z-index:2;text-align:center}
.pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);padding:6px 14px;border-radius:99px;font-size:12px;
  font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#e6eef7}
.pill i{width:7px;height:7px;border-radius:50%;background:#3ddc97;display:block}
.hin h1{font-size:clamp(28px,4.6vw,46px);font-weight:800;letter-spacing:-.6px;margin:18px 0 12px;line-height:1.12}
.hin h1 span{color:var(--gold)}
.hin p.lead{max-width:640px;margin:0 auto;font-size:16px;color:#c8d8e8}
.hsearch{max-width:520px;margin:26px auto 0;position:relative}
.hsearch input{width:100%;font:inherit;font-size:15px;padding:14px 18px 14px 46px;border-radius:11px;
  border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.12);color:#fff}
.hsearch input::placeholder{color:#a9c0d6}
.hsearch input:focus{outline:none;background:#fff;color:var(--txt);border-color:var(--gold)}
.hsearch svg{position:absolute;left:16px;top:15px;width:18px;height:18px;stroke:#a9c0d6;fill:none;stroke-width:2}
.hstats{display:flex;justify-content:center;gap:34px;flex-wrap:wrap;margin-top:30px}
.hstats div{font-size:12.5px;color:#b4c8db}
.hstats b{display:block;font-size:22px;color:#fff;font-weight:800}

/* --------------------------------------------------------------- cards --- */
main{max-width:1180px;margin:0 auto;padding:26px 20px 10px}
.cat{display:flex;align-items:center;gap:12px;margin:38px 0 16px}
.cat h2{font-size:19px;font-weight:800;color:var(--navy);letter-spacing:-.2px}
.cat span{font-size:11.5px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:var(--muted);
  background:#fff;border:1px solid var(--line);padding:3px 10px;border-radius:99px}
.cat hr{flex:1;border:0;border-top:1px solid var(--line)}
.cat.first{margin-top:0}
.grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(268px,1fr))}
.tool{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 20px 20px;
  text-decoration:none;color:inherit;display:block;position:relative;transition:.18s;box-shadow:var(--shadow)}
.tool:hover{transform:translateY(-4px);border-color:var(--navy);box-shadow:0 14px 30px rgba(14,42,71,.16)}
.tool .ic{width:50px;height:50px;border-radius:12px;display:grid;place-items:center;margin-bottom:14px;
  background:#eaf0f7;border:1px solid #dbe6f1;overflow:hidden}
.tool .ic svg{width:26px;height:26px;stroke:var(--navy);fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.tool .ic img{width:28px;height:28px;object-fit:contain}
.tool:nth-child(even) .ic{background:#fdeef0;border-color:#f7d6db}
.tool:nth-child(even) .ic svg{stroke:var(--red)}
.tool h3{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:6px}
.tool p{font-size:13.5px;color:var(--muted);line-height:1.6;min-height:44px}
.tool .go{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:12.5px;font-weight:700;
  letter-spacing:.4px;text-transform:uppercase;color:var(--red)}
.tool .go svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4;transition:.18s}
.tool:hover .go svg{transform:translateX(4px)}
.tool .tick{position:absolute;top:18px;right:18px;font-size:10px;font-weight:800;letter-spacing:.7px;
  text-transform:uppercase;color:var(--ok);background:#e9f7ef;border:1px solid #b7e2c8;
  padding:3px 8px;border-radius:99px}
.tool .tick.new{color:var(--red);background:#fdecee;border-color:#f5c2c2}
.tool .tick.pop{color:#7a5c12;background:#fdf8ea;border-color:#ecd9a3}

.why{margin:52px 0 0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;
  box-shadow:var(--shadow)}
.why h2{font-size:19px;color:var(--navy);font-weight:800;margin-bottom:6px}
.why>p{font-size:14px;color:var(--muted);margin-bottom:22px;max-width:70ch}
.wg{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.wg div{border-left:3px solid var(--gold);padding-left:14px}
.wg h4{font-size:14.5px;color:var(--navy);margin-bottom:4px}
.wg p{font-size:13px;color:var(--muted);line-height:1.6}
.steps{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.steps span{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}
.steps b{width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;display:grid;
  place-items:center;font-size:11.5px}
.steps i{color:#b8c6d6;font-style:normal;margin:0 4px}
.seo-note{margin:38px 0 10px;font-size:12.5px;color:#8a99ab;line-height:1.75}
.seo-note b{color:var(--navy)}

/* The sheet is the thing that holds a comfortable measure, not the prose
   inside it — otherwise a wide screen left the article stranded down the left
   hand side with half the panel empty. */
.sheet{background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(22px,4vw,44px);
  box-shadow:var(--shadow);margin:26px auto 0;max-width:980px}
.prose{max-width:100%;font-size:15.5px;line-height:1.78;color:#31435a}
.prose h2{font-size:21px;color:var(--navy);font-weight:800;margin:30px 0 10px;letter-spacing:-.2px}
.prose h3{font-size:17px;color:var(--navy);font-weight:700;margin:24px 0 8px}
.prose p{margin-bottom:14px}
.prose ul,.prose ol{margin:0 0 16px 22px}
.prose li{margin-bottom:7px}
.prose a{color:var(--red);font-weight:600}
.prose strong{color:var(--navy)}
.prose blockquote{border-left:3px solid var(--gold);background:#fdf8ea;padding:14px 18px;
  border-radius:0 10px 10px 0;margin:0 0 16px;color:#6b5410}
.prose table{width:100%;border-collapse:collapse;margin-bottom:18px;font-size:14px}
.prose th,.prose td{border:1px solid var(--line);padding:9px 12px;text-align:left}
.prose th{background:#f4f7fb;color:var(--navy)}
.prose hr{border:0;border-top:1px solid var(--line);margin:26px 0}

/* --------------------------------------------------------- contact page -- */
.cwrap{display:grid;grid-template-columns:1.25fr .95fr;gap:24px;margin-top:26px}
@media(max-width:880px){.cwrap{grid-template-columns:1fr}}
.formcard,.infocard{background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:clamp(20px,3vw,30px);box-shadow:var(--shadow)}
.formcard h2,.infocard h2{font-size:18px;color:var(--navy);font-weight:800;margin-bottom:6px}
.formcard .sub,.infocard .sub{font-size:13.5px;color:var(--muted);margin-bottom:20px}
.fld{margin-bottom:16px}
.fld label{display:block;font-size:12.5px;font-weight:700;color:var(--navy);margin-bottom:6px}
.fld input,.fld textarea,.fld select{width:100%;font:inherit;font-size:14.5px;padding:11px 13px;
  border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--txt)}
.fld textarea{min-height:130px;resize:vertical}
.fld input:focus,.fld textarea:focus,.fld select:focus{outline:none;border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(14,42,71,.09)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.row2{grid-template-columns:1fr}}
.btn{display:inline-block;font:inherit;font-size:14.5px;font-weight:700;border:1px solid var(--red);
  background:var(--red);color:#fff;padding:13px 26px;border-radius:10px;cursor:pointer;text-decoration:none}
.btn:hover{background:var(--red2);border-color:var(--red2)}
.btn.gh{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn.gh:hover{background:#eaf0f7}
.alert{border-radius:10px;padding:13px 16px;font-size:14px;margin-bottom:18px}
.alert.ok{background:#e9f7ef;border:1px solid #b7e2c8;color:#14803c}
.alert.err{background:#fdecee;border:1px solid #f5c2c2;color:var(--red)}
.cinfo{list-style:none}
.cinfo li{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid #edf1f6;font-size:14px}
.cinfo li:last-child{border:0}
.cinfo .ci{width:38px;height:38px;flex:none;border-radius:10px;background:#eaf0f7;display:grid;
  place-items:center}
.cinfo .ci svg{width:18px;height:18px;stroke:var(--navy);fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.cinfo b{display:block;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;
  font-weight:700;margin-bottom:2px}
.cinfo a{color:var(--navy);text-decoration:none;font-weight:600}
.cinfo a:hover{color:var(--red)}

/* ---------------------------------------------------------------- FAQ ---- */
.faq{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff;overflow:hidden}
.faq summary{cursor:pointer;padding:15px 18px;font-weight:700;color:var(--navy);font-size:15px;
  list-style:none;display:flex;align-items:center;gap:10px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+";color:var(--red);font-weight:800;font-size:18px;line-height:1;width:14px}
.faq[open] summary::before{content:"\2212"}
.faq .a{padding:0 18px 16px 42px;font-size:14px;color:#41546c;line-height:1.7}

/* --------------------------------------------------------------- blog ---- */
.posts{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-top:26px}
.post{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;
  box-shadow:var(--shadow);display:flex;flex-direction:column;text-decoration:none;color:inherit;
  transition:.18s}
.post:hover{transform:translateY(-3px);border-color:var(--navy)}
/* The cover is positioned rather than sized with percentages: as a grid item
   `height:100%` resolved against an indefinite track, so a tall cover grew past
   the 150px band and covered the date line underneath it. */
.post .thumb{position:relative;height:158px;overflow:hidden;
  background:linear-gradient(135deg,var(--navy),var(--navy2));display:grid;
  place-items:center;color:var(--gold);font-size:30px;font-weight:800;letter-spacing:1px}
.post .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.post .pb{padding:18px}
.post .meta{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;
  font-weight:700;margin-bottom:7px}
.post h3{font-size:16.5px;color:var(--navy);font-weight:700;margin-bottom:7px;line-height:1.35}
.post p{font-size:13.5px;color:var(--muted);line-height:1.6}
.empty{background:#fff;border:1px dashed var(--line);border-radius:14px;padding:40px;text-align:center;
  color:var(--muted);font-size:14px;margin-top:26px}

/* ---------------------------------------------------------------- misc --- */
.cta{margin-top:34px;background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff;
  border-radius:16px;padding:30px;text-align:center}
.cta h2{font-size:21px;font-weight:800;margin-bottom:8px}
.cta p{color:#c3d5e6;font-size:14.5px;margin-bottom:18px}
.cta .btn{background:var(--gold);border-color:var(--gold);color:#20180a}
.cta .btn:hover{filter:brightness(1.08);background:var(--gold);border-color:var(--gold)}
.notfound{text-align:center;padding:70px 20px}
.notfound b{display:block;font-size:76px;color:var(--navy);font-weight:800;line-height:1}
.notfound h1{font-size:24px;color:var(--navy);margin:10px 0 8px}
.notfound p{color:var(--muted);margin-bottom:22px}

/* ============ "the fastest tools in one place" home section ==============
   Sits between the "Why work with Filix" panel and the blog teasers. Two
   columns on a desktop — illustration on the left, the five points on the
   right — collapsing to one column on a tablet and below. */
.fastest{margin:52px 0 0;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:clamp(24px,3.4vw,40px);box-shadow:var(--shadow)}
.fastest .fx-head{max-width:820px;margin:0 auto 30px;text-align:center}
.fastest .fx-head h2{font-size:clamp(20px,2.7vw,27px);font-weight:800;color:var(--navy);
  line-height:1.25;letter-spacing:-.3px}
.fastest .fx-head p{font-size:15px;color:var(--muted);line-height:1.7;margin-top:10px}

.fastest .fx-body{display:grid;grid-template-columns:minmax(300px,1fr) 1.22fr;
  gap:clamp(22px,3vw,40px);align-items:center}
.fastest .fx-art{background:linear-gradient(160deg,#f4f8fc,#eaf1f9);
  border:1px solid var(--line);border-radius:14px;padding:14px}
.fastest .fx-art img{display:block;width:100%;height:auto}

.fastest .fx-list{list-style:none;counter-reset:fx;margin:0;padding:0;display:grid;gap:4px}
.fastest .fx-list li{counter-increment:fx;display:flex;gap:16px;padding:16px 4px;
  border-bottom:1px solid #edf2f7}
.fastest .fx-list li:last-child{border-bottom:0}
.fastest .fx-i{width:46px;height:46px;flex:none;border-radius:12px;background:#eaf0f7;
  border:1px solid #dbe6f1;display:grid;place-items:center;position:relative}
.fastest .fx-i svg{width:23px;height:23px;stroke:var(--navy);fill:none;stroke-width:1.75;
  stroke-linecap:round;stroke-linejoin:round}
.fastest .fx-list li:nth-child(even) .fx-i{background:#fdeef0;border-color:#f7d6db}
.fastest .fx-list li:nth-child(even) .fx-i svg{stroke:var(--red)}
.fastest .fx-i::after{content:"0" counter(fx);position:absolute;top:-7px;right:-9px;
  background:var(--navy);color:#fff;font-size:9.5px;font-weight:800;letter-spacing:.4px;
  padding:2px 6px;border-radius:99px;border:2px solid #fff}
.fastest .fx-list h3{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:5px;
  line-height:1.35}
.fastest .fx-list p{font-size:13.8px;color:#51637a;line-height:1.7;margin:0}

@media(max-width:1000px){
  .fastest .fx-body{grid-template-columns:1fr}
  .fastest .fx-art{position:static;max-width:520px;margin:0 auto}
}
@media(max-width:560px){
  .fastest .fx-list li{gap:13px;padding:14px 0}
  .fastest .fx-i{width:40px;height:40px;border-radius:10px}
  .fastest .fx-i svg{width:20px;height:20px}
  .fastest .fx-list h3{font-size:15px}
}

/* ---- contact form spam check ---------------------------------------------- */
.cap-fld{background:#f6f9fc;border:1px solid var(--line);border-radius:11px;padding:14px 16px}
.cap-fld label{margin-bottom:8px}
.cap-fld input{max-width:220px}
.capq{display:inline-block;background:var(--navy);color:#fff;font-weight:800;letter-spacing:1px;
  padding:2px 11px;border-radius:7px;margin:0 2px;font-size:15px}
.cap-hint{font-size:12px;color:var(--muted);margin:8px 0 0}
