
:root{
  --navy:#00084D;
  --orange:#FF7A00;
  --orange-dark:#E86600;
  --sky:#F5F9FF;
  --sky-2:#EAF4FF;
  --text:#172033;
  --muted:#5D6B82;
  --border:#DDE7F5;
  --white:#fff;
  --green:#0F9F6E;
  --red:#D93025;
  --amber:#B7791F;
  --shadow:0 24px 70px rgba(0,8,77,.10);
  --radius:24px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#fff;color:var(--text);line-height:1.6}
a{color:inherit;text-decoration:none}
.cx-container{width:min(1180px,92vw);margin-inline:auto}
.cx-topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}
.cx-nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cx-brand{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--navy);font-size:1.05rem}
.cx-logo{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,var(--navy),#2540B8);display:grid;place-items:center;color:#fff;font-weight:900}
.cx-navlinks{display:flex;align-items:center;gap:18px;font-size:.94rem;color:#34405A}
.cx-navlinks a:hover{color:var(--orange)}
.cx-btn{border:0;border-radius:999px;padding:13px 20px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s ease;background:var(--orange);color:#fff;box-shadow:0 12px 28px rgba(255,122,0,.24)}
.cx-btn:hover{background:var(--orange-dark);transform:translateY(-1px)}
.cx-btn.secondary{background:#fff;color:var(--navy);border:1px solid var(--border);box-shadow:none}
.cx-btn.ghost{background:transparent;color:var(--navy);border:1px solid var(--border);box-shadow:none}
.cx-hero{background:radial-gradient(circle at top left,#E7F3FF 0,#F8FBFF 38%,#fff 72%);padding:72px 0 42px;overflow:hidden}
.cx-hero-grid{display:grid;grid-template-columns:1fr 460px;gap:42px;align-items:center}
.cx-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:999px;color:var(--navy);font-weight:800;padding:8px 12px;font-size:.86rem;box-shadow:0 10px 30px rgba(0,8,77,.06)}
h1{font-size:clamp(2.15rem,4vw,4.3rem);line-height:1.05;color:var(--navy);letter-spacing:-.045em;margin:18px 0}
.cx-lead{font-size:1.14rem;color:var(--muted);max-width:720px;margin:0 0 24px}
.cx-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.cx-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.cx-pill{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--border);color:#34405A;font-weight:700;font-size:.86rem}
.cx-hero-card{background:#fff;border:1px solid var(--border);border-radius:32px;padding:24px;box-shadow:var(--shadow);position:relative}
.cx-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.cx-stat{background:var(--sky);border-radius:20px;padding:18px}
.cx-stat b{display:block;font-size:1.6rem;color:var(--navy);line-height:1}
.cx-stat span{font-size:.88rem;color:var(--muted)}
.cx-section{padding:66px 0}
.cx-section.alt{background:var(--sky)}
.cx-section-title{max-width:780px;margin:0 auto 34px;text-align:center}
.cx-section-title h2{color:var(--navy);font-size:clamp(1.75rem,3vw,2.7rem);line-height:1.12;margin:0 0 12px;letter-spacing:-.03em}
.cx-section-title p{color:var(--muted);margin:0;font-size:1.05rem}
.cx-tool-shell{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.cx-panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 18px 60px rgba(0,8,77,.07);padding:22px}
.cx-panel h3{color:var(--navy);margin:0 0 14px;font-size:1.25rem}
.cx-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cx-field{display:flex;flex-direction:column;gap:7px}
.cx-field label{font-weight:800;color:#28324A;font-size:.9rem}
.cx-input,.cx-select,.cx-textarea{width:100%;border:1px solid var(--border);border-radius:16px;padding:13px 14px;font:inherit;color:var(--text);background:#fff;outline:none}
.cx-textarea{min-height:220px;resize:vertical}
.cx-input:focus,.cx-select:focus,.cx-textarea:focus{border-color:#93B8FF;box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.cx-result{background:#08113E;color:#F8FBFF;border-radius:20px;padding:18px;min-height:160px;white-space:pre-wrap;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.93rem}
.cx-result.light{background:#F8FBFF;color:#172033;border:1px solid var(--border)}
.cx-meter{height:12px;border-radius:999px;background:#E9EEF8;overflow:hidden;margin:12px 0}
.cx-meter span{display:block;height:100%;width:0%;background:linear-gradient(90deg,#0F9F6E,#F4B740,#D93025);transition:.35s ease}
.cx-score{font-size:2.4rem;line-height:1;font-weight:900;color:var(--navy)}
.cx-side-list{display:grid;gap:12px}
.cx-check{padding:14px;border:1px solid var(--border);background:var(--sky);border-radius:18px}
.cx-check b{color:var(--navy);display:block}
.cx-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cx-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:0 16px 48px rgba(0,8,77,.06)}
.cx-card h3{color:var(--navy);margin:0 0 8px}
.cx-card p{color:var(--muted);margin:0}
.cx-tool-card{display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:245px}
.cx-icon{width:48px;height:48px;border-radius:16px;background:var(--sky-2);display:grid;place-items:center;color:var(--navy);font-weight:900}
.cx-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--border);border-radius:18px;background:#fff}
.cx-table th,.cx-table td{padding:15px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.cx-table th{background:#F2F7FF;color:var(--navy)}
.cx-table tr:last-child td{border-bottom:0}
.cx-faq{display:grid;gap:12px;max-width:900px;margin:auto}
.cx-faq details{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px 18px}
.cx-faq summary{cursor:pointer;font-weight:900;color:var(--navy)}
.cx-faq p{color:var(--muted);margin:10px 0 0}
.cx-cta{background:linear-gradient(135deg,var(--navy),#142D9A);color:#fff;border-radius:34px;padding:38px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
.cx-cta h2{margin:0 0 10px;font-size:2rem}
.cx-cta p{margin:0;color:#DDE7FF}
.cx-footer{background:#061039;color:#DDE7FF;padding:36px 0;margin-top:40px}
.cx-footer-grid{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cx-footer a{color:#fff}
.cx-note{font-size:.88rem;color:var(--muted)}
.cx-upload{border:1.5px dashed #A9BCE4;background:#F8FBFF;border-radius:20px;padding:18px;text-align:center}
.cx-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.cx-tab{padding:9px 12px;border-radius:999px;border:1px solid var(--border);background:#fff;font-weight:800;cursor:pointer;color:#34405A}
.cx-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.cx-alert{border-radius:18px;padding:14px;background:#FFF7E8;border:1px solid #FFD89C;color:#6B4300}
.cx-small{font-size:.86rem;color:var(--muted)}
@media(max-width:980px){
  .cx-hero-grid,.cx-tool-shell,.cx-cta{grid-template-columns:1fr}
  .cx-navlinks{display:none}
  .cx-grid-3{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .cx-section{padding:46px 0}
  .cx-form-grid,.cx-grid-3,.cx-stat-grid{grid-template-columns:1fr}
  .cx-hero{padding-top:42px}
  .cx-panel{padding:16px}
  .cx-cta{padding:24px;border-radius:24px}
}


/* V2 header, logo, SEO content, and service navigation upgrades */
.cx-brand img{height:44px;width:auto;display:block;max-width:190px}
.cx-brand.no-mark{gap:0}
.cx-services-menu{display:flex;align-items:center;gap:16px}
.cx-service-link{font-weight:800;color:#34405A}
.cx-service-link:hover{color:var(--orange)}
.cx-service-link.featured{color:var(--navy)}
.cx-dropdown{position:relative}
.cx-dropdown-btn{border:0;background:transparent;font:inherit;font-weight:800;color:#34405A;cursor:pointer;padding:8px 0}
.cx-dropdown-content{position:absolute;right:0;top:120%;min-width:260px;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:10px;display:none}
.cx-dropdown:hover .cx-dropdown-content{display:grid;gap:4px}
.cx-dropdown-content a{padding:11px 12px;border-radius:12px;color:#34405A}
.cx-dropdown-content a:hover{background:var(--sky);color:var(--orange)}
.cx-seo-content{display:grid;gap:18px}
.cx-seo-block{background:#fff;border:1px solid var(--border);border-radius:22px;padding:24px;box-shadow:0 14px 40px rgba(0,8,77,.05)}
.cx-seo-block h3{color:var(--navy);margin:0 0 8px;font-size:1.35rem}
.cx-seo-block p{color:var(--muted);margin:0}
.cx-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.cx-related-item{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px;font-weight:900;color:var(--navy);text-align:center}
.cx-breadcrumb{font-size:.88rem;color:var(--muted);margin-bottom:12px}
.cx-breadcrumb a{color:var(--navy);font-weight:800}
.cx-mobile-services{display:none}
@media(max-width:1120px){
  .cx-nav{height:auto;min-height:72px;padding:12px 0;align-items:flex-start}
  .cx-services-menu{display:none}
  .cx-mobile-services{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 12px}
  .cx-mobile-services a{font-size:.86rem;padding:8px 10px;border:1px solid var(--border);border-radius:999px;background:#fff}
}
@media(max-width:980px){
  .cx-related-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .cx-brand img{height:38px;max-width:170px}
  .cx-related-grid{grid-template-columns:1fr}
}


/* =========================================================
   V3 HEADER FIX - clean, aligned, responsive navigation
   ========================================================= */
.cx-topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 28px rgba(0,8,77,.04);
}
.cx-nav{
  min-height:82px;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:12px 0;
}
.cx-brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:0;
  min-width:190px;
}
.cx-brand img{
  height:52px;
  width:auto;
  max-width:230px;
  object-fit:contain;
  display:block;
}
.cx-logo{display:none !important}
.cx-main-menu{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-width:0;
}
.cx-main-menu > a,
.cx-dropdown-btn{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  color:#2F3A56;
  font-weight:800;
  font-size:.96rem;
  line-height:1.15;
  white-space:nowrap;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.cx-main-menu > a:hover,
.cx-dropdown-btn:hover{
  background:var(--sky);
  color:var(--orange);
}
.cx-dropdown{
  position:relative;
  flex:0 0 auto;
}
.cx-dropdown-btn{
  border:0;
  background:transparent;
  font:inherit;
  cursor:pointer;
  gap:6px;
}
.cx-dropdown-content{
  position:absolute;
  left:50%;
  top:calc(100% + 10px);
  transform:translateX(-50%);
  min-width:260px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:10px;
  display:none;
  z-index:1002;
}
.cx-dropdown:hover .cx-dropdown-content,
.cx-dropdown:focus-within .cx-dropdown-content{
  display:grid;
  gap:4px;
}
.cx-dropdown-content a{
  display:block;
  padding:12px 13px;
  border-radius:12px;
  color:#34405A;
  font-weight:800;
  white-space:nowrap;
}
.cx-dropdown-content a:hover{
  background:var(--sky);
  color:var(--orange);
}
.cx-header-cta{
  flex:0 0 auto;
  padding:13px 22px;
  min-width:118px;
  min-height:48px;
  border-radius:999px;
  font-size:.98rem;
  box-shadow:0 12px 28px rgba(255,122,0,.22);
}
.cx-menu-toggle{
  display:none;
  width:46px;
  height:42px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.cx-menu-toggle span{
  width:21px;
  height:2px;
  background:var(--navy);
  border-radius:99px;
  display:block;
}
.cx-navlinks,
.cx-services-menu,
.cx-mobile-services{
  display:none !important;
}

/* Larger laptop widths: keep header in a single row without huge CTA */
@media(max-width:1260px){
  .cx-container.cx-nav{width:min(1240px,96vw)}
  .cx-brand{min-width:170px}
  .cx-brand img{height:46px;max-width:205px}
  .cx-main-menu{gap:2px}
  .cx-main-menu > a,
  .cx-dropdown-btn{
    font-size:.90rem;
    padding:8px 9px;
  }
  .cx-header-cta{
    min-width:auto;
    padding:12px 18px;
  }
}

/* Tablet and mobile: hamburger menu */
@media(max-width:1040px){
  .cx-nav{
    min-height:72px;
    flex-wrap:wrap;
    align-items:center;
  }
  .cx-brand{min-width:auto}
  .cx-brand img{height:44px;max-width:210px}
  .cx-menu-toggle{
    display:flex;
    order:3;
  }
  .cx-header-cta{
    order:2;
    margin-left:auto;
    padding:11px 16px;
    min-height:44px;
  }
  .cx-main-menu{
    order:4;
    flex-basis:100%;
    display:none;
    justify-content:flex-start;
    align-items:stretch;
    flex-direction:column;
    gap:8px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:12px;
    box-shadow:0 18px 50px rgba(0,8,77,.08);
  }
  .cx-nav.nav-open .cx-main-menu,
  .cx-topbar.nav-open .cx-main-menu{
    display:flex;
  }
  .cx-main-menu > a,
  .cx-dropdown-btn{
    justify-content:flex-start;
    width:100%;
    white-space:normal;
    border-radius:14px;
    padding:12px 14px;
  }
  .cx-dropdown-content{
    position:static;
    transform:none;
    min-width:0;
    width:100%;
    margin-top:4px;
    box-shadow:none;
    border-radius:14px;
  }
  .cx-dropdown:hover .cx-dropdown-content,
  .cx-dropdown:focus-within .cx-dropdown-content{
    display:grid;
  }
}

/* Small phone */
@media(max-width:560px){
  .cx-nav{
    gap:10px;
  }
  .cx-brand img{
    height:38px;
    max-width:175px;
  }
  .cx-header-cta{
    font-size:.88rem;
    padding:10px 13px;
  }
  .cx-menu-toggle{
    width:42px;
    height:40px;
  }
}


/* =========================================================
   V4 SIMPLE HEADER - only Free Tools + 3 service links
   ========================================================= */
.cx-topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 28px rgba(0,8,77,.04);
}
.cx-nav{
  min-height:82px;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:12px 0;
}
.cx-brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:0;
  min-width:220px;
}
.cx-brand img{
  height:52px;
  width:auto;
  max-width:245px;
  object-fit:contain;
  display:block;
}
.cx-logo{display:none !important}
.cx-main-menu{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  min-width:0;
}
.cx-main-menu > a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  color:#2F3A56;
  font-weight:800;
  font-size:1rem;
  line-height:1.15;
  white-space:nowrap;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.cx-main-menu > a:hover{
  background:var(--sky);
  color:var(--orange);
}
.cx-menu-toggle{
  display:none;
  width:46px;
  height:42px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.cx-menu-toggle span{
  width:21px;
  height:2px;
  background:var(--navy);
  border-radius:99px;
  display:block;
}
.cx-navlinks,
.cx-services-menu,
.cx-mobile-services,
.cx-header-cta,
.cx-dropdown,
.cx-dropdown-btn,
.cx-dropdown-content{
  display:none !important;
}
@media(max-width:1100px){
  .cx-container.cx-nav{width:min(1180px,94vw)}
  .cx-brand{min-width:190px}
  .cx-brand img{height:46px;max-width:210px}
  .cx-main-menu{gap:8px}
  .cx-main-menu > a{font-size:.92rem;padding:9px 11px}
}
@media(max-width:860px){
  .cx-nav{
    min-height:72px;
    flex-wrap:wrap;
    gap:12px;
  }
  .cx-brand{min-width:auto}
  .cx-brand img{height:44px;max-width:210px}
  .cx-menu-toggle{
    display:flex;
    margin-left:auto;
  }
  .cx-main-menu{
    order:4;
    flex-basis:100%;
    display:none;
    justify-content:flex-start;
    align-items:stretch;
    flex-direction:column;
    gap:8px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:12px;
    box-shadow:0 18px 50px rgba(0,8,77,.08);
  }
  .cx-nav.nav-open .cx-main-menu,
  .cx-topbar.nav-open .cx-main-menu{
    display:flex;
  }
  .cx-main-menu > a{
    justify-content:flex-start;
    width:100%;
    white-space:normal;
    border-radius:14px;
    padding:13px 14px;
  }
}
@media(max-width:560px){
  .cx-brand img{
    height:38px;
    max-width:175px;
  }
  .cx-menu-toggle{
    width:42px;
    height:40px;
  }
}
