:root{
      --primary:#0B3D91;
      --primary-dark:#072d6d;
      --primary-soft:#eaf1fc;
      --ink:#172033;
      --muted:#657087;
      --line:#dfe5ef;
      --surface:#ffffff;
      --surface-soft:#f5f7fb;
      --shadow:0 18px 50px rgba(20,40,80,.12);
      --radius:18px;
    }

    *{box-sizing:border-box}
    html{scroll-behaviour:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--surface-soft);
      font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
      line-height:1.6;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-locked{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    button{color:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

    .topbar{
      position:relative;
      z-index:80;
      color:#dfe9fb;
      background:#071a3c;
      font-size:.82rem;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
    .topbar-links{display:flex;align-items:center;gap:22px}
    .topbar a{transition:color .2s ease}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:70;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 18px rgba(30,48,80,.05);
    }
    .header-inner{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:26px;
    }
    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--primary);
      font-weight:800;
      letter-spacing:-.02em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .logo span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .main-nav{margin-left:auto;align-self:stretch}
    .nav-list{
      height:100%;
      margin:0;
      padding:0;
      display:flex;
      align-items:stretch;
      list-style:none;
    }
    .nav-item{position:relative;display:flex;align-items:center}
    .nav-link{
      height:100%;
      padding:0 12px;
      display:flex;
      align-items:center;
      color:#26334c;
      font-size:.91rem;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease;
    }
    .nav-item.has-panel>.nav-link::after{
      width:6px;
      height:6px;
      margin-left:7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      content:"";
      transform:rotate(45deg) translateY(-2px);
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link,.nav-item:hover>.nav-link{color:var(--primary)}
    .nav-item.has-panel::after{
      position:absolute;
      top:100%;
      left:0;
      width:100%;
      height:14px;
      content:"";
    }

    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      z-index:100;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow);
      transform:translateY(10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      pointer-events:auto;
      transform:translateY(0);
    }
    .dropdown-panel{
      left:0;
      width:330px;
      padding:20px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-title,.mega-title{
      margin:0;
      color:var(--ink);
      font-weight:800;
    }
    .dropdown-list{display:grid;gap:5px;margin:12px 0}
    .dropdown-list a{
      padding:9px 10px;
      color:#43516a;
      border-radius:8px;
      font-size:.9rem;
    }
    .dropdown-list a:hover{color:var(--primary);background:var(--primary-soft)}
    .dropdown-footer{
      padding-top:12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-top:1px solid var(--line);
      color:var(--muted);
      font-size:.82rem;
    }
    .dropdown-footer a,.text-link{color:var(--primary);font-weight:800}

    .mega-menu{
      left:50%;
      width:min(920px,calc(100vw - 40px));
      max-height:calc(100vh - 120px);
      padding:24px;
      overflow:auto;
      border-radius:0 0 20px 20px;
      transform:translate(-50%,10px);
    }
    .nav-item:hover>.mega-menu,.nav-item:focus-within>.mega-menu{transform:translate(-50%,0)}
    .nav-item:nth-last-child(-n+3) .mega-menu{left:auto;right:-120px;transform:translateY(10px)}
    .nav-item:nth-last-child(-n+3):hover>.mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within>.mega-menu{transform:translateY(0)}
    .mega-top{
      margin-bottom:18px;
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:20px;
    }
    .mega-top p:not(.mega-title){margin:4px 0 0;color:var(--muted);font-size:.88rem}
    .mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .mega-card{
      min-width:0;
      padding:13px;
      display:grid;
      grid-template-columns:42px minmax(0,1fr);
      align-items:center;
      gap:6px 11px;
      border:1px solid var(--line);
      border-radius:13px;
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }
    .mega-card:hover{
      border-color:#a9bee0;
      box-shadow:0 8px 22px rgba(11,61,145,.1);
      transform:translateY(-2px);
    }
    .mega-card img{
      width:42px;
      height:42px;
      grid-row:1 / span 3;
      object-fit:contain;
      border-radius:8px;
      background:#f4f7fb;
    }
    .mega-card strong{min-width:0;font-size:.88rem;overflow:hidden;text-overflow:ellipsis}
    .mega-card p{
      margin:0;
      color:var(--muted);
      font-size:.76rem;
      line-height:1.4;
      display:-webkit-box;
      overflow:hidden;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
    }
    .mega-meta{
      display:flex;
      flex-wrap:wrap;
      gap:4px 9px;
      color:var(--muted);
      font-size:.7rem;
    }
    .mega-categories{margin:-4px 0 18px;display:flex;flex-wrap:wrap;gap:8px}
    .mega-categories a{
      padding:6px 10px;
      color:var(--primary);
      background:var(--primary-soft);
      border-radius:999px;
      font-size:.76rem;
      font-weight:700;
    }
    .video-card,.product-card{grid-template-columns:70px minmax(0,1fr)}
    .video-card img,.product-card img{width:70px;height:58px;object-fit:cover}
    .tool-icon{object-fit:contain!important}

    .header-btns{display:flex;align-items:center;gap:10px}
    .btn{
      min-height:42px;
      padding:10px 16px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:10px;
      font-weight:800;
    }
    .btn-primary{color:#fff;background:var(--primary);box-shadow:0 8px 18px rgba(11,61,145,.18)}
    .btn-primary:hover{background:var(--primary-dark)}
    .hamburger{
      width:44px;
      height:42px;
      padding:10px;
      display:none;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:5px;
      cursor:pointer;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
    }
    .hamburger span{
      width:20px;
      height:2px;
      display:block;
      background:var(--ink);
      transition:transform .2s ease,opacity .2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:150;
      visibility:hidden;
      opacity:0;
      background:rgba(5,17,40,.58);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:160;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(5,17,40,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:74px;
      padding:14px 18px;
      display:flex;
      align-items:center;
      gap:12px;
      color:#fff;
      background:var(--primary);
    }
    .drawer-head>a{font-size:.88rem;font-weight:800}
    .drawer-close{
      width:40px;
      height:40px;
      margin-left:auto;
      color:#fff;
      cursor:pointer;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.28);
      border-radius:10px;
      font-size:1.5rem;
      line-height:1;
    }
    .drawer-menu{padding:12px 18px 28px}
    .drawer-link,.drawer-toggle{
      width:100%;
      padding:14px 3px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      text-align:left;
      font-weight:800;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      cursor:pointer;
    }
    .drawer-toggle::after{
      width:8px;
      height:8px;
      margin-right:5px;
      border-right:2px solid var(--primary);
      border-bottom:2px solid var(--primary);
      content:"";
      transform:rotate(45deg);
      transition:transform .2s ease;
    }
    .drawer-toggle.active::after{transform:rotate(225deg)}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      background:#f7f9fd;
      transition:max-height .3s ease;
    }
    .drawer-submenu.open{max-height:620px}
    .drawer-submenu a{
      padding:10px 14px;
      display:block;
      color:#526078;
      border-bottom:1px solid #e8edf5;
      font-size:.88rem;
    }
    .drawer-submenu a:hover{color:var(--primary);background:var(--primary-soft)}

    .tag-index-page{min-height:650px}
    .tag-index-page .tag-hero{
      position:relative;
      overflow:hidden;
      padding:78px 0 70px;
      color:#fff;
      text-align:center;
      background:
        radial-gradient(circle at 15% 20%,rgba(110,164,255,.28),transparent 30%),
        radial-gradient(circle at 85% 80%,rgba(72,130,230,.25),transparent 32%),
        linear-gradient(145deg,#061a3d 0%,#0B3D91 58%,#1655ad 100%);
    }
    .tag-index-page .tag-hero::before,
    .tag-index-page .tag-hero::after{
      position:absolute;
      content:"";
      border:1px solid rgba(255,255,255,.13);
      border-radius:50%;
    }
    .tag-index-page .tag-hero::before{width:360px;height:360px;top:-250px;left:-70px}
    .tag-index-page .tag-hero::after{width:420px;height:420px;right:-190px;bottom:-330px}
    .tag-index-page .eyebrow{
      margin:0 0 12px;
      color:#cfe0ff;
      font-size:.78rem;
      font-weight:800;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
    .tag-index-page .tag-hero h1{
      max-width:850px;
      margin:0 auto 16px;
      font-size:clamp(2.25rem,5vw,4.2rem);
      line-height:1.06;
      letter-spacing:-.045em;
    }
    .tag-index-page .tag-hero p{
      max-width:700px;
      margin:0 auto;
      color:#e2ebfb;
      font-size:1.04rem;
    }
    .tag-index-page .breadcrumb{
      margin-top:25px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex-wrap:wrap;
      gap:9px;
      color:#dce8fc;
      font-size:.85rem;
    }
    .tag-index-page .breadcrumb a{font-weight:800}
    .tag-index-page .breadcrumb a:hover{color:#fff;text-decoration:underline}

    .tag-index-page .tag-section{padding:68px 0 84px}
    .tag-index-page .section-heading{
      margin-bottom:28px;
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:24px;
    }
    .tag-index-page .section-heading h2{
      margin:0 0 6px;
      font-size:clamp(1.65rem,3vw,2.35rem);
      line-height:1.2;
      letter-spacing:-.03em;
    }
    .tag-index-page .section-heading p{max-width:670px;margin:0;color:var(--muted)}
    .tag-index-page .index-mark{
      flex:0 0 auto;
      padding:8px 13px;
      color:var(--primary);
      background:var(--primary-soft);
      border:1px solid #ccdaf2;
      border-radius:999px;
      font-size:.78rem;
      font-weight:800;
    }
    .tag-index-page .tag-panel{
      padding:clamp(24px,4vw,46px);
      background:#fff;
      border:1px solid var(--line);
      border-radius:24px;
      box-shadow:0 18px 50px rgba(22,44,80,.08);
    }
    .tag-index-page .tag-cloud{
      display:flex;
      align-items:center;
      justify-content:center;
      flex-wrap:wrap;
      gap:13px;
    }
    .tag-index-page .tag-chip{
      position:relative;
      min-height:48px;
      padding:11px 18px 11px 38px;
      display:inline-flex;
      align-items:center;
      color:#263754;
      background:#f7f9fd;
      border:1px solid #dfe7f3;
      border-radius:999px;
      font-size:.94rem;
      font-weight:750;
      box-shadow:0 5px 14px rgba(22,44,80,.04);
      transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
    }
    .tag-index-page .tag-chip::before{
      position:absolute;
      left:17px;
      width:8px;
      height:8px;
      content:"";
      background:#7fa4df;
      border-radius:50%;
      box-shadow:0 0 0 4px #e7eef9;
    }
    .tag-index-page .tag-chip:nth-child(3n+1){font-size:1.05rem}
    .tag-index-page .tag-chip:nth-child(4n+2){background:#eef4fd}
    .tag-index-page .tag-chip:nth-child(5n){font-size:.87rem}
    .tag-index-page .tag-chip:hover{
      color:#fff;
      background:var(--primary);
      border-color:var(--primary);
      box-shadow:0 12px 24px rgba(11,61,145,.2);
      transform:translateY(-3px);
    }
    .tag-index-page .tag-chip:hover::before{background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.18)}
    .tag-index-page .research-note{
      margin-top:28px;
      padding:19px 22px;
      display:flex;
      align-items:flex-start;
      gap:14px;
      color:#45536c;
      background:#eef4fd;
      border-left:4px solid var(--primary);
      border-radius:12px;
    }
    .tag-index-page .research-note strong{display:block;margin-bottom:2px;color:var(--primary)}
    .tag-index-page .research-note p{margin:0}
    .tag-index-page .note-icon{
      width:34px;
      height:34px;
      flex:0 0 34px;
      display:grid;
      place-items:center;
      color:#fff;
      background:var(--primary);
      border-radius:50%;
      font-weight:900;
    }
    .tag-index-page .topic-cta{
      margin-top:52px;
      padding:34px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:28px;
      color:#fff;
      background:#10254b;
      border-radius:20px;
      box-shadow:0 18px 40px rgba(7,26,60,.16);
    }
    .tag-index-page .topic-cta h2{margin:0 0 5px;font-size:1.55rem}
    .tag-index-page .topic-cta p{max-width:680px;margin:0;color:#cbd8ee}
    .tag-index-page .cta-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:10px}
    .tag-index-page .cta-button{
      min-height:44px;
      padding:10px 16px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color:var(--primary);
      background:#fff;
      border-radius:10px;
      font-weight:800;
    }
    .tag-index-page .cta-button.secondary{
      color:#fff;
      background:transparent;
      border:1px solid rgba(255,255,255,.35);
    }

    .footer{color:#cbd6e9;background:#071a3c}
    .footer-main{
      padding:62px 0 46px;
      display:grid;
      grid-template-columns:1.5fr repeat(3,1fr);
      gap:42px;
    }
    .footer .logo{margin-bottom:18px;color:#fff}
    .footer-brand p{max-width:430px;margin:9px 0;color:#aebbd0;font-size:.88rem}
    .footer h3{margin:5px 0 17px;color:#fff;font-size:1rem}
    .footer-links,.footer-contact{display:grid;gap:10px}
    .footer-links a,.footer-contact a{color:#b8c5d9;font-size:.88rem;transition:color .2s ease}
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-social{margin-top:5px}
    .footer-bottom{
      min-height:70px;
      padding:18px 0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8fa0ba;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:.79rem;
    }

    @media (max-width:1100px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .footer-main{grid-template-columns:1.4fr 1fr 1fr}
      .footer-main>div:last-child{grid-column:2 / -1}
    }
    @media (max-width:760px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{padding:8px 0;align-items:flex-start;flex-direction:column;gap:2px}
      .topbar-links{width:100%;justify-content:space-between;gap:10px}
      .header-inner{min-height:68px;gap:10px}
      .header .logo img{width:38px;height:38px}
      .header .logo span{max-width:115px}
      .header-btns>.btn{display:none}
      .tag-index-page .tag-hero{padding:60px 0 56px}
      .tag-index-page .tag-section{padding:48px 0 62px}
      .tag-index-page .section-heading{align-items:flex-start;flex-direction:column}
      .tag-index-page .tag-panel{padding:24px 16px}
      .tag-index-page .tag-cloud{justify-content:flex-start;gap:9px}
      .tag-index-page .tag-chip,
      .tag-index-page .tag-chip:nth-child(3n+1),
      .tag-index-page .tag-chip:nth-child(5n){min-height:44px;padding:9px 14px 9px 34px;font-size:.87rem}
      .tag-index-page .tag-chip::before{left:14px}
      .tag-index-page .research-note{padding:16px}
      .tag-index-page .topic-cta{padding:25px;align-items:flex-start;flex-direction:column}
      .tag-index-page .cta-actions{width:100%}
      .tag-index-page .cta-button{flex:1}
      .footer-main{padding:48px 0 35px;grid-template-columns:1fr 1fr;gap:32px 22px}
      .footer-brand{grid-column:1 / -1}
      .footer-main>div:last-child{grid-column:auto}
      .footer-bottom{align-items:flex-start;flex-direction:column;gap:6px}
    }
    @media (max-width:480px){
      .topbar-links{flex-direction:column;gap:1px}
      .logo span{max-width:105px}
      .tag-index-page .tag-hero h1{font-size:2.15rem}
      .tag-index-page .topic-cta .cta-actions{flex-direction:column}
      .footer-main{grid-template-columns:1fr}
      .footer-brand,.footer-main>div:last-child{grid-column:auto}
    }